aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/journey_patterns
diff options
context:
space:
mode:
authorLuc Donnet2012-08-06 13:30:08 +0200
committerLuc Donnet2012-08-06 13:30:08 +0200
commit23db0719ef5508584243047332184984fb89e258 (patch)
tree7206d0abaddbbf42866933c28580792a2967ae0a /app/views/journey_patterns
parentf9eab62b3a9ae2c88cc22fb0b8ddbeaeff1be673 (diff)
downloadchouette-core-23db0719ef5508584243047332184984fb89e258.tar.bz2
Update css for index list
Diffstat (limited to 'app/views/journey_patterns')
-rw-r--r--app/views/journey_patterns/_journey_pattern.html.erb7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/journey_patterns/_journey_pattern.html.erb b/app/views/journey_patterns/_journey_pattern.html.erb
index bf0f84fb1..0734a9a8b 100644
--- a/app/views/journey_patterns/_journey_pattern.html.erb
+++ b/app/views/journey_patterns/_journey_pattern.html.erb
@@ -2,10 +2,9 @@
<%= link_to journey_name(journey_pattern), [@referential, @line, @route, journey_pattern] %>
<div class="info">
<% unless journey_pattern.stop_points.empty? %>
- <%= t('.from_to', :departure => journey_pattern.stop_points.first.stop_area.name, :arrival => journey_pattern.stop_points.last.stop_area.name) %> -
- <% end %>
- <%= t('.stop_count', :count => journey_pattern.stop_points.count, :route_count => @route.stop_points.count) %> -
- <%= t('.vehicle_journeys_count', :count => journey_pattern.vehicle_journeys.count) %>
+ <%= t('.from_to', :departure => journey_pattern.stop_points.first.stop_area.name, :arrival => journey_pattern.stop_points.last.stop_area.name) %>
+ <% end %><br>
+ <%= t('.stop_count', :count => journey_pattern.stop_points.count, :route_count => @route.stop_points.count) %> | <%= t('.vehicle_journeys_count', :count => journey_pattern.vehicle_journeys.count) %>
<div class="actions">
<%= link_to t("actions.destroy"), referential_line_route_journey_pattern_path(@referential, @line, @route, journey_pattern), :method => :delete, :confirm => t('journey_patterns.actions.destroy_confirm'), :class => "remove" %>
<% if journey_pattern.vehicle_journeys.count > 0 %>