From beed6b8df8d86c86b69fcca2b602bf40e36dcb75 Mon Sep 17 00:00:00 2001 From: Michel Etienne Date: Thu, 21 Aug 2014 16:33:57 +0200 Subject: maintain object names on show --- app/views/access_links/show.html.erb | 4 ++++ app/views/companies/show.html.erb | 4 ++++ app/views/connection_links/show.html.erb | 4 ++++ app/views/group_of_lines/show.html.erb | 4 ++++ app/views/lines/show.html.erb | 4 ++++ app/views/networks/show.html.erb | 4 ++++ app/views/time_tables/_show_time_table.html.erb | 4 ++++ app/views/vehicle_journeys/show.html.erb | 4 ++++ 8 files changed, 32 insertions(+) (limited to 'app') diff --git a/app/views/access_links/show.html.erb b/app/views/access_links/show.html.erb index f7b870fd8..79294bb38 100644 --- a/app/views/access_links/show.html.erb +++ b/app/views/access_links/show.html.erb @@ -12,6 +12,10 @@ <%= link_to @access_link.stop_area.name, [@referential, @access_link.stop_area] %>

+

+ + <%= @access_link.name %> +

<%= t("connection_link_types.label.#{@access_link.access_link_type}") %> diff --git a/app/views/companies/show.html.erb b/app/views/companies/show.html.erb index 0c8585a6c..0ac132511 100644 --- a/app/views/companies/show.html.erb +++ b/app/views/companies/show.html.erb @@ -3,6 +3,10 @@

+

+ + <%= @company.name %> +

<%= @company.short_name %> diff --git a/app/views/connection_links/show.html.erb b/app/views/connection_links/show.html.erb index f11c05152..70547bda1 100644 --- a/app/views/connection_links/show.html.erb +++ b/app/views/connection_links/show.html.erb @@ -20,6 +20,10 @@ <%= @connection_link.human_attribute_name("undefined") %> <% end %>

+

+ + <%= @connection_link.name %> +

<%= t("connection_link_types.label.#{@connection_link.connection_link_type}") %> diff --git a/app/views/group_of_lines/show.html.erb b/app/views/group_of_lines/show.html.erb index 7ce5ddc46..e5923d539 100644 --- a/app/views/group_of_lines/show.html.erb +++ b/app/views/group_of_lines/show.html.erb @@ -3,6 +3,10 @@

<%= @map.to_html %>
+

+ + <%= @group_of_line.name %> +

<%= @group_of_line.comment %> diff --git a/app/views/lines/show.html.erb b/app/views/lines/show.html.erb index cec5dc2f0..d1a13aacf 100644 --- a/app/views/lines/show.html.erb +++ b/app/views/lines/show.html.erb @@ -20,6 +20,10 @@ <%= link_to @line.company.name, [@referential, @line.company] %> <% end %>

+

+ + <%= @line.name %> +

<%= @line.published_name %> diff --git a/app/views/networks/show.html.erb b/app/views/networks/show.html.erb index e7b103dda..1999c9869 100644 --- a/app/views/networks/show.html.erb +++ b/app/views/networks/show.html.erb @@ -3,6 +3,10 @@

<%= @map.to_html %>
+

+ + <%= @network.name %> +

<%= @network.registration_number %> diff --git a/app/views/time_tables/_show_time_table.html.erb b/app/views/time_tables/_show_time_table.html.erb index 71fe973c9..5095ac918 100644 --- a/app/views/time_tables/_show_time_table.html.erb +++ b/app/views/time_tables/_show_time_table.html.erb @@ -12,6 +12,10 @@

+

+ + <%= @time_table.comment %> +

<%= @time_table.version %> diff --git a/app/views/vehicle_journeys/show.html.erb b/app/views/vehicle_journeys/show.html.erb index 45f4fcdb1..92cce447d 100644 --- a/app/views/vehicle_journeys/show.html.erb +++ b/app/views/vehicle_journeys/show.html.erb @@ -14,6 +14,10 @@ <%= link_to journey_name(@vehicle_journey.journey_pattern), [@referential, @line, @route, @vehicle_journey.journey_pattern] %>

+

+ + <%= @vehicle_journey.number %> +

<%= @vehicle_journey.published_journey_name %> -- cgit v1.2.3