From 6e4a709fd4ae7eb5aac1729b66da81a940caed46 Mon Sep 17 00:00:00 2001 From: Michel Etienne Date: Mon, 1 Jul 2013 11:36:39 +0200 Subject: finalize removing projection from database --- app/helpers/stop_areas_helper.rb | 2 +- app/views/access_points/show.html.erb | 4 ++-- app/views/stop_areas/show.html.erb | 2 +- config/locales/organisations.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/helpers/stop_areas_helper.rb b/app/helpers/stop_areas_helper.rb index 4a2f3f9a4..da29b2ec6 100644 --- a/app/helpers/stop_areas_helper.rb +++ b/app/helpers/stop_areas_helper.rb @@ -5,7 +5,7 @@ module StopAreasHelper end def show_map? - manage_itl || @stop_area.projection_type != nil || @stop_area.long_lat_type != nil + manage_itl || @stop_area.long_lat_type != nil end def manage_access_points diff --git a/app/views/access_points/show.html.erb b/app/views/access_points/show.html.erb index 7f34ed0e0..b7c8ba391 100644 --- a/app/views/access_points/show.html.erb +++ b/app/views/access_points/show.html.erb @@ -1,6 +1,6 @@ <%= title_tag t('access_points.show.title', :access_point => @access_point.name) %>
- <% if @access_point.projection_type == nil && @access_point.long_lat_type == nil %> + <% if @access_point.long_lat_type == nil %> <%= t('access_points.show.no_geographic_data') %> <% else %> <% if !@access_point.projection.nil? %> diff --git a/app/views/stop_areas/show.html.erb b/app/views/stop_areas/show.html.erb index b98378d71..632036959 100644 --- a/app/views/stop_areas/show.html.erb +++ b/app/views/stop_areas/show.html.erb @@ -39,7 +39,7 @@ <% if !manage_itl %>
- <% if @stop_area.projection_type == nil && @stop_area.long_lat_type == nil %> + <% if @stop_area.long_lat_type == nil %> <%= t('stop_areas.show.no_geographic_data') %> <% else %> <% if !@stop_area.projection.nil? %> diff --git a/config/locales/organisations.yml b/config/locales/organisations.yml index 011e87966..e6b86d29d 100644 --- a/config/locales/organisations.yml +++ b/config/locales/organisations.yml @@ -15,7 +15,7 @@ en: fr: organisations: actions: - edit: "Mofifier votre organisation" + edit: "Modifier votre organisation" edit: title: "Modifier votre organisation" key_registered: "Clé enregistrée" -- cgit v1.2.3