aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMichel Etienne2012-06-06 11:48:37 +0200
committerMichel Etienne2012-06-06 11:48:37 +0200
commit448c162c595f66230e70105fbe015f41a61dc82c (patch)
tree52768059ed31eacca9bdea45e28e7bb6bbced800 /app
parent9f437b3acc5e01e57c59528fa6e1209074f81757 (diff)
downloadchouette-core-448c162c595f66230e70105fbe015f41a61dc82c.tar.bz2
correct trac #28, #30 and #35
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/layout.css.scss9
-rw-r--r--app/views/connection_links/select_areas.html.erb3
-rw-r--r--app/views/help/documentation.textile6
-rw-r--r--app/views/help/toc.textile1
-rw-r--r--app/views/imports/new.html.erb2
-rw-r--r--app/views/layouts/application.html.erb2
-rw-r--r--app/views/stop_areas/add_children.html.erb3
-rw-r--r--app/views/stop_areas/select_parent.html.erb3
-rw-r--r--app/views/stop_areas/show.html.erb2
9 files changed, 24 insertions, 7 deletions
diff --git a/app/assets/stylesheets/layout.css.scss b/app/assets/stylesheets/layout.css.scss
index b9a715465..e93ec699c 100644
--- a/app/assets/stylesheets/layout.css.scss
+++ b/app/assets/stylesheets/layout.css.scss
@@ -7,6 +7,15 @@ $text_color: #222;
@import "user_interface/layout";
+#header .infos div.title h1 {
+ border: 1px solid white;
+ font-size: 30px;
+ margin: 20px 0 0 100px;
+ padding: 3px 15px 3px 15px;
+ font-weight: bold;
+}
+
+
#sidebar ul {
padding: 0 8px;
diff --git a/app/views/connection_links/select_areas.html.erb b/app/views/connection_links/select_areas.html.erb
index 0c46395d7..2df3831b4 100644
--- a/app/views/connection_links/select_areas.html.erb
+++ b/app/views/connection_links/select_areas.html.erb
@@ -9,7 +9,8 @@
<%= form.buttons do %>
<%= form.commit_button %>
- ou <%= link_to "revenir", [@referential, @connection_link] %>
+ <%= t('or') %>
+ <%= link_to t('cancel'), [@referential, @connection_link] %>
<% end %>
</div>
<% end %>
diff --git a/app/views/help/documentation.textile b/app/views/help/documentation.textile
new file mode 100644
index 000000000..2b3d1ff93
--- /dev/null
+++ b/app/views/help/documentation.textile
@@ -0,0 +1,6 @@
+---
+layout: default
+title: Documentation
+---
+
+La documentation de Chouette est disponible sur le site "Chouette.mobi":http://www.chouette.mobi/spip.php?rubrique15 \ No newline at end of file
diff --git a/app/views/help/toc.textile b/app/views/help/toc.textile
index 8a0d204f5..1ce35cac2 100644
--- a/app/views/help/toc.textile
+++ b/app/views/help/toc.textile
@@ -7,6 +7,7 @@ h3. Sommaire
# "G&eacute;n&eacute;ralit&eacute;s":introduction
## "Normalisation":normalisation
+## "Documentation":documentation
# "Espaces de donn&eacute;es":dataspaces
# "R&eacute;seaux":networks
# "Transporteurs":companies
diff --git a/app/views/imports/new.html.erb b/app/views/imports/new.html.erb
index 0d1c54202..02ad61ede 100644
--- a/app/views/imports/new.html.erb
+++ b/app/views/imports/new.html.erb
@@ -8,6 +8,6 @@
<%= form.buttons do %>
<%= form.commit_button true %>
<li><%= t('or') %></li>
- <li><%= link_to t('back'), :back %></li>
+ <li><%= link_to t('cancel'), :back %></li>
<% end %>
<% end %>
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 110594cb5..4eb3b1b70 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -22,7 +22,7 @@
<% if selected_referential? %>
<h1><%= @referential.name %></h1>
<% elsif help_page? %>
- <h1>Documentation</h1>
+ <h1>Guide d'utilisation</h1>
<% end %>
</div>
<div class="interaction">
diff --git a/app/views/stop_areas/add_children.html.erb b/app/views/stop_areas/add_children.html.erb
index a8b29146a..ff3323dab 100644
--- a/app/views/stop_areas/add_children.html.erb
+++ b/app/views/stop_areas/add_children.html.erb
@@ -8,7 +8,8 @@
<%= form.buttons do %>
<%= form.commit_button %>
- ou <%= link_to "revenir", [@referential, @stop_area] %>
+ <%= t('or') %>
+ <%= link_to t('cancel'), [@referential, @stop_area] %>
<% end %>
</div>
<% end %>
diff --git a/app/views/stop_areas/select_parent.html.erb b/app/views/stop_areas/select_parent.html.erb
index bf361b869..26baf984a 100644
--- a/app/views/stop_areas/select_parent.html.erb
+++ b/app/views/stop_areas/select_parent.html.erb
@@ -8,7 +8,8 @@
<%= form.buttons do %>
<%= form.commit_button %>
- ou <%= link_to "revenir", [@referential, @stop_area] %>
+ <%= t('or') %>
+ <%= link_to t('cancel'), [@referential, @stop_area] %>
<% end %>
</div>
<% end %>
diff --git a/app/views/stop_areas/show.html.erb b/app/views/stop_areas/show.html.erb
index 41d7576b5..28867de45 100644
--- a/app/views/stop_areas/show.html.erb
+++ b/app/views/stop_areas/show.html.erb
@@ -93,7 +93,6 @@
<%= link_to([@referential, @stop_area.parent]) do %>
<%= image_tag "map/" + @stop_area.parent.stop_area_type + ".png" %><span><%= @stop_area.parent.name %></span>
<% end %>
- <%= link_to image_tag("user_interface/ui/remove.png"), referential_stop_area_path(@referential, @stop_area.parent), :method => :delete, :confirm => t('stop_areas.actions.destroy_confirm'), :class => "remove" %>
</div>
<div class="link"><%= image_tag "icons/link.png"%></div>
<% else %>
@@ -114,7 +113,6 @@
<%= link_to([@referential, child]) do %>
<%= image_tag "map/" + child.stop_area_type + ".png" %><span><%= child.name %></span>
<% end %>
- <%= link_to image_tag("user_interface/ui/remove.png"), referential_stop_area_path(@referential, child), :method => :delete, :confirm => t('stop_areas.actions.destroy_confirm'), :class => "remove" %>
</div>
<% end %>
</div>