aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMichel Etienne2014-09-22 12:00:18 +0200
committerMichel Etienne2014-09-22 12:00:18 +0200
commita724576b6551e1c00a2c82dd317a87128f137ddf (patch)
tree99ee0971703940f2455ec651b5c4185b124c0ec0 /app
parent3e9fdfe3d0137eefba50b63800e30a6f15cd4cf4 (diff)
downloadchouette-core-a724576b6551e1c00a2c82dd317a87128f137ddf.tar.bz2
remove info already shown in breadcrumbs
Diffstat (limited to 'app')
-rw-r--r--app/views/access_links/show.html.erb12
-rw-r--r--app/views/access_points/show.html.erb8
-rw-r--r--app/views/companies/show.html.erb4
-rw-r--r--app/views/connection_links/show.html.erb4
-rw-r--r--app/views/group_of_lines/show.html.erb4
-rw-r--r--app/views/journey_patterns/show.html.erb8
-rw-r--r--app/views/lines/show.html.erb4
-rw-r--r--app/views/networks/show.html.erb4
-rw-r--r--app/views/routes/show.html.erb4
-rw-r--r--app/views/stop_areas/show.html.erb4
-rw-r--r--app/views/time_tables/_show_time_table.html.erb4
-rw-r--r--app/views/vehicle_journeys/show.html.erb8
12 files changed, 0 insertions, 68 deletions
diff --git a/app/views/access_links/show.html.erb b/app/views/access_links/show.html.erb
index 79294bb38..3999b0287 100644
--- a/app/views/access_links/show.html.erb
+++ b/app/views/access_links/show.html.erb
@@ -5,18 +5,6 @@
<div class="summary">
<p>
- <label><%= @access_link.human_attribute_name(:access_point) %>: </label>
- <%= link_to @access_link.access_point.name, [@referential, @access_link.access_point.stop_area, @access_link.access_point] %>
- </p>
- <p>
- <label><%= @access_link.human_attribute_name(:stop_area) %>: </label>
- <%= link_to @access_link.stop_area.name, [@referential, @access_link.stop_area] %>
- </p>
- <p>
- <label><%= @access_link.human_attribute_name(:name) %>: </label>
- <%= @access_link.name %>
- </p>
- <p>
<label><%= @access_link.human_attribute_name("access_link_type") %>: </label>
<%= t("connection_link_types.label.#{@access_link.access_link_type}") %>
</p>
diff --git a/app/views/access_points/show.html.erb b/app/views/access_points/show.html.erb
index 7cd7b4920..925d73ee7 100644
--- a/app/views/access_points/show.html.erb
+++ b/app/views/access_points/show.html.erb
@@ -5,14 +5,6 @@
<% end %>
<div class="summary">
<p>
- <label><%= @access_point.human_attribute_name(:stop_area) %>: </label>
- <%= link_to @stop_area.name, [@referential, @stop_area] %>
- </p>
- <p>
- <label><%= @access_point.human_attribute_name("name") %>: </label>
- <%= @access_point.name %>
- </p>
- <p>
<label><%= @access_point.human_attribute_name("comment") %>: </label>
<%= @access_point.comment %>
</p>
diff --git a/app/views/companies/show.html.erb b/app/views/companies/show.html.erb
index 0ac132511..0c8585a6c 100644
--- a/app/views/companies/show.html.erb
+++ b/app/views/companies/show.html.erb
@@ -4,10 +4,6 @@
<div class="summary">
<p>
- <label><%= @company.human_attribute_name(:name) %>: </label>
- <%= @company.name %>
- </p>
- <p>
<label><%= Chouette::Company.human_attribute_name("short_name") %>: </label>
<%= @company.short_name %>
</p>
diff --git a/app/views/connection_links/show.html.erb b/app/views/connection_links/show.html.erb
index 2414f3dbd..f9689bf55 100644
--- a/app/views/connection_links/show.html.erb
+++ b/app/views/connection_links/show.html.erb
@@ -21,10 +21,6 @@
<% end %>
</p>
<p>
- <label><%= @connection_link.human_attribute_name(:name) %>: </label>
- <%= @connection_link.name %>
- </p>
- <p>
<label><%= @connection_link.human_attribute_name("connection_link_type") %>: </label>
<%= t("connection_link_types.label.#{@connection_link.connection_link_type}") %>
</p>
diff --git a/app/views/group_of_lines/show.html.erb b/app/views/group_of_lines/show.html.erb
index e5923d539..7ce5ddc46 100644
--- a/app/views/group_of_lines/show.html.erb
+++ b/app/views/group_of_lines/show.html.erb
@@ -4,10 +4,6 @@
<%= @map.to_html %>
<div class="summary">
<p>
- <label><%= @group_of_line.human_attribute_name(:name) %>: </label>
- <%= @group_of_line.name %>
- </p>
- <p>
<label><%= @group_of_line.human_attribute_name("comment") %>: </label>
<%= @group_of_line.comment %>
</p>
diff --git a/app/views/journey_patterns/show.html.erb b/app/views/journey_patterns/show.html.erb
index a5f75e7c9..4ac057161 100644
--- a/app/views/journey_patterns/show.html.erb
+++ b/app/views/journey_patterns/show.html.erb
@@ -5,14 +5,6 @@
<div class="summary">
<p>
- <label><%= @route.human_attribute_name(:line) %>: </label>
- <%= link_to line_formatted_name( @line), [@referential, @line] %>
- </p>
- <p>
- <label><%= @journey_pattern.human_attribute_name(:route) %>: </label>
- <%= link_to @route.name, [@referential, @line, @route] %>
- </p>
- <p>
<label><%= @journey_pattern.human_attribute_name(:name) %>: </label>
<%= @journey_pattern.name %>
</p>
diff --git a/app/views/lines/show.html.erb b/app/views/lines/show.html.erb
index d1a13aacf..cec5dc2f0 100644
--- a/app/views/lines/show.html.erb
+++ b/app/views/lines/show.html.erb
@@ -21,10 +21,6 @@
<% end %>
</p>
<p>
- <label><%= @line.human_attribute_name(:name) %>: </label>
- <%= @line.name %>
- </p>
- <p>
<label><%= @line.human_attribute_name("published_name") %>: </label>
<%= @line.published_name %>
</p>
diff --git a/app/views/networks/show.html.erb b/app/views/networks/show.html.erb
index 1999c9869..e7b103dda 100644
--- a/app/views/networks/show.html.erb
+++ b/app/views/networks/show.html.erb
@@ -4,10 +4,6 @@
<%= @map.to_html %>
<div class="summary">
<p>
- <label><%= @network.human_attribute_name(:name) %>: </label>
- <%= @network.name %>
- </p>
- <p>
<label><%= Chouette::Network.human_attribute_name("registration_number") %>: </label>
<%= @network.registration_number %>
</p>
diff --git a/app/views/routes/show.html.erb b/app/views/routes/show.html.erb
index b935a6f34..22ef7fff8 100644
--- a/app/views/routes/show.html.erb
+++ b/app/views/routes/show.html.erb
@@ -5,10 +5,6 @@
<div class="summary">
<p>
- <label><%= @route.human_attribute_name(:line) %>: </label>
- <%= link_to line_formatted_name( @line), [@referential, @line] %>
- </p>
- <p>
<label><%= @route.human_attribute_name(:name) %>: </label>
<%= @route.name %>
</p>
diff --git a/app/views/stop_areas/show.html.erb b/app/views/stop_areas/show.html.erb
index 6659b703f..3cef99be8 100644
--- a/app/views/stop_areas/show.html.erb
+++ b/app/views/stop_areas/show.html.erb
@@ -6,10 +6,6 @@
<% end %>
<div class="summary">
<p>
- <label><%= @stop_area.human_attribute_name("name") %>: </label>
- <%= @stop_area.name %>
- </p>
- <p>
<label><%= @stop_area.human_attribute_name("comment") %>: </label>
<%= @stop_area.comment %>
</p>
diff --git a/app/views/time_tables/_show_time_table.html.erb b/app/views/time_tables/_show_time_table.html.erb
index 5095ac918..71fe973c9 100644
--- a/app/views/time_tables/_show_time_table.html.erb
+++ b/app/views/time_tables/_show_time_table.html.erb
@@ -13,10 +13,6 @@
</div>
<div class="summary">
<p>
- <label><%= @time_table.human_attribute_name("comment") %>: </label>
- <%= @time_table.comment %>
- </p>
- <p>
<label><%= @time_table.human_attribute_name("version") %>: </label>
<%= @time_table.version %>
</p>
diff --git a/app/views/vehicle_journeys/show.html.erb b/app/views/vehicle_journeys/show.html.erb
index 9bf433c29..f964fc4ea 100644
--- a/app/views/vehicle_journeys/show.html.erb
+++ b/app/views/vehicle_journeys/show.html.erb
@@ -15,14 +15,6 @@
<div class="vehicle_journey">
<div class="summary">
<p>
- <label><%= @route.human_attribute_name(:line) %>: </label>
- <%= link_to line_formatted_name( @line), [@referential, @line] %>
- </p>
- <p>
- <label><%= @vehicle_journey.human_attribute_name(:route) %>: </label>
- <%= link_to @route.name, [@referential, @line, @route] %>
- </p>
- <p>
<label><%= @vehicle_journey.human_attribute_name(:journey_pattern) %>: </label>
<%= link_to journey_name(@vehicle_journey.journey_pattern), [@referential, @line, @route, @vehicle_journey.journey_pattern] %>
</p>