aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/journey_patterns
diff options
context:
space:
mode:
authorLuc Donnet2014-06-18 09:52:28 +0200
committerLuc Donnet2014-06-18 09:52:28 +0200
commitbfd178055c1989d4d65a99e3752aa0ccd3abdad1 (patch)
treec1160d25f2115ec98181ef9d0147a092f09a851c /app/views/journey_patterns
parentf4f4a304e36825a53ebc9227509dc3c389ef17cf (diff)
downloadchouette-core-bfd178055c1989d4d65a99e3752aa0ccd3abdad1.tar.bz2
Initialize big css refactoring
Diffstat (limited to 'app/views/journey_patterns')
-rw-r--r--app/views/journey_patterns/_stop_points_detail.html.erb10
-rw-r--r--app/views/journey_patterns/show.html.erb4
2 files changed, 2 insertions, 12 deletions
diff --git a/app/views/journey_patterns/_stop_points_detail.html.erb b/app/views/journey_patterns/_stop_points_detail.html.erb
deleted file mode 100644
index 6c9e4afae..000000000
--- a/app/views/journey_patterns/_stop_points_detail.html.erb
+++ /dev/null
@@ -1,10 +0,0 @@
- <div class="page_info">
- <span class="search"> <%= t("will_paginate.page_entries_info.list") %></span> <%= page_entries_info @stop_points %>
- </div>
- <div class="stop_points paginated_content">
- <%= render :partial => "stop_points/stop_point", :collection => @stop_points %>
- </div>
- <div class="pagination">
- <%= will_paginate @stop_points, :container => false %>
- </div>
-
diff --git a/app/views/journey_patterns/show.html.erb b/app/views/journey_patterns/show.html.erb
index eb8f40cc1..1bdd5cc5e 100644
--- a/app/views/journey_patterns/show.html.erb
+++ b/app/views/journey_patterns/show.html.erb
@@ -38,8 +38,8 @@
<p class="after_map" />
<h3 class="journey_pattern_stop_points"><%= t('.stop_points') %></h3>
-<div class="stop_points_detail" >
- <%= render :partial => "stop_points_detail" %>
+<div class="stop_points paginated_content" >
+ <%= paginated_content @stop_points, "stop_points/stop_point" %>
</div>
<% content_for :sidebar do %>