aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/assets/javascripts/plugins/tooltip.coffee2
-rw-r--r--app/views/stop_areas/show.html.erb1
-rw-r--r--config/locales/stop_areas.en.yml1
-rw-r--r--config/locales/stop_areas.fr.yml1
4 files changed, 4 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>
diff --git a/config/locales/stop_areas.en.yml b/config/locales/stop_areas.en.yml
index 8bc51bf65..2f755ba2f 100644
--- a/config/locales/stop_areas.en.yml
+++ b/config/locales/stop_areas.en.yml
@@ -44,6 +44,7 @@ en:
stop_managment: "Parent-Child links managment"
access_managment: "Access Points and Links managment"
access_points: "Access Points"
+ not_editable: "Le type d'arrêt est non modifiable"
genealogical:
genealogical: "Links between stop area"
genealogical_routing: "Routing constraint's links"
diff --git a/config/locales/stop_areas.fr.yml b/config/locales/stop_areas.fr.yml
index e2ad6fa97..30b63288f 100644
--- a/config/locales/stop_areas.fr.yml
+++ b/config/locales/stop_areas.fr.yml
@@ -45,6 +45,7 @@ fr:
stop_managment: "Gestion des relations père-fils"
access_managment: "Gestion des accès et liens associés"
access_points: "Points d'accès"
+ not_editable: "Le type d'arrêt est non modifiable"
genealogical:
genealogical: "Lien entre arrêts"
genealogical_routing: "Liens de l'ITL"