diff options
| author | Michel Etienne | 2012-09-05 18:51:16 +0200 | 
|---|---|---|
| committer | Michel Etienne | 2012-09-05 18:51:16 +0200 | 
| commit | 9d5b817bb9053b25cd5d3914ff95e1a592fc62e9 (patch) | |
| tree | 7661d5852e028aca7b585783183befe8dfef1f79 /app/views/journey_patterns | |
| parent | e524f087ae7fe7543bffbdf281ed9e07c00b9418 (diff) | |
| download | chouette-core-9d5b817bb9053b25cd5d3914ff95e1a592fc62e9.tar.bz2 | |
block journey_pattern and vehicle_journey link when less than 2 stop_points are defined on route
Diffstat (limited to 'app/views/journey_patterns')
| -rw-r--r-- | app/views/journey_patterns/show.html.erb | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/app/views/journey_patterns/show.html.erb b/app/views/journey_patterns/show.html.erb index 507a71cca..149f9df6a 100644 --- a/app/views/journey_patterns/show.html.erb +++ b/app/views/journey_patterns/show.html.erb @@ -5,6 +5,10 @@    <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> | 
