aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/plugins/tooltip.coffee2
-rw-r--r--app/views/stop_areas/show.html.erb1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/plugins/tooltip.coffee b/app/assets/javascripts/plugins/tooltip.coffee
index 91b8b5cc6..cd92daf78 100644
--- a/app/assets/javascripts/plugins/tooltip.coffee
+++ b/app/assets/javascripts/plugins/tooltip.coffee
@@ -1,3 +1,3 @@
jQuery ->
- $('input').tooltip()
+ $('[data-toggle="tooltip"]').tooltip()
$('.progress').tooltip()
diff --git a/app/views/stop_areas/show.html.erb b/app/views/stop_areas/show.html.erb
index 74aa9d908..6a34f808c 100644
--- a/app/views/stop_areas/show.html.erb
+++ b/app/views/stop_areas/show.html.erb
@@ -48,6 +48,7 @@
<p>
<label><%= @stop_area.human_attribute_name("stop_area_type") %>: </label>
<%= t("area_types.label.#{@stop_area.stop_area_type}") %>
+ <i class="fa fa-info-circle" data-toggle="tooltip" data-placement="right" title="<%= t('.not_editable') %>"></i>
</p>
<% if !manage_itl %>
<p>