diff options
| author | Michel Etienne | 2012-04-17 11:52:43 +0200 |
|---|---|---|
| committer | Michel Etienne | 2012-04-17 11:52:43 +0200 |
| commit | c31941d2969b7e17c136c3dcea41d4fc92a8a874 (patch) | |
| tree | d40ca23907841638777c8201d11ac99c2797fee7 /app/views | |
| parent | c98146353f42342155b05cff2c4daeedd1621b52 (diff) | |
| download | chouette-core-c31941d2969b7e17c136c3dcea41d4fc92a8a874.tar.bz2 | |
stop icons in help and stoptype filter
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/help/stop_areas.textile | 2 | ||||
| -rw-r--r-- | app/views/stop_areas/index.html.erb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/app/views/help/stop_areas.textile b/app/views/help/stop_areas.textile index f527798fe..a562e21cb 100644 --- a/app/views/help/stop_areas.textile +++ b/app/views/help/stop_areas.textile @@ -41,6 +41,8 @@ h3. Attributs * !quay.png! quai * !commercialstoppoint.png! arrêt commercial * !stopplace.png! pôle d'échange +* !itl.png! ITL + - Nom := nom de l'arrêt - Commentaire := zone de texte libre diff --git a/app/views/stop_areas/index.html.erb b/app/views/stop_areas/index.html.erb index 67d46b99e..873b4fb2e 100644 --- a/app/views/stop_areas/index.html.erb +++ b/app/views/stop_areas/index.html.erb @@ -25,7 +25,7 @@ <ul class="selection"> <% Chouette::StopArea.types.each do |area_type| %> -<li><%= link_with_search t("area_types.label.#{area_type.to_s}"), "areatype_eq" => area_type.name %></li> +<li><%= link_with_search (image_tag("map/" + area_type.name.downcase + ".png")+t("area_types.label.#{area_type.to_s}")), "areatype_eq" => area_type.name %></li> <% end %> <li><%= link_with_search t(".selection_all"), {"areatype_eq" => nil}, :class => "all" %></li> </ul> |
