aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/helpers/stop_areas_helper.rb2
-rw-r--r--app/views/access_points/show.html.erb4
-rw-r--r--app/views/stop_areas/show.html.erb2
3 files changed, 4 insertions, 4 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) %>
<div class="access_point_show">
- <% if @access_point.projection_type != nil || @access_point.long_lat_type != nil %>
+ <% if @access_point.long_lat_type != nil %>
<%= @map.to_html %>
<% end %>
<div class="summary">
@@ -53,7 +53,7 @@
<%= t((@access_point.lift_availability == true).to_s) %>
</p>
<p> <label><%= t('access_points.show.geographic_data') %> </label></p>
- <% if @access_point.projection_type == nil && @access_point.long_lat_type == nil %>
+ <% if @access_point.long_lat_type == nil %>
<span class='geo_data'><%= t('access_points.show.no_geographic_data') %></span>
<% 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 @@
</p>
<% if !manage_itl %>
<p> <label><%= t('stop_areas.show.geographic_data') %> </label></p>
- <% if @stop_area.projection_type == nil && @stop_area.long_lat_type == nil %>
+ <% if @stop_area.long_lat_type == nil %>
<span class='geo_data'><%= t('stop_areas.show.no_geographic_data') %></span>
<% else %>
<% if !@stop_area.projection.nil? %>