aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinhui2018-01-04 12:35:17 +0100
committerXinhui2018-01-04 12:35:17 +0100
commit346fa48d81aa9696bf2c3c8341d4d41c216889a7 (patch)
tree867718a193c185badb6e9f3c4e1c3f54c9c36e64
parent6b42ecc9bced0f7c8ca7f9b81ad0c09e1f926b44 (diff)
downloadchouette-core-346fa48d81aa9696bf2c3c8341d4d41c216889a7.tar.bz2
Display checksum for routing contraint zones -m Refs
-rw-r--r--app/views/routing_constraint_zones/show.html.slim3
-rw-r--r--config/locales/routes.en.yml2
-rw-r--r--config/locales/routes.fr.yml2
-rw-r--r--config/locales/routing_constraint_zones.en.yml1
-rw-r--r--config/locales/routing_constraint_zones.fr.yml1
5 files changed, 6 insertions, 3 deletions
diff --git a/app/views/routing_constraint_zones/show.html.slim b/app/views/routing_constraint_zones/show.html.slim
index 6235ade68..3d1988545 100644
--- a/app/views/routing_constraint_zones/show.html.slim
+++ b/app/views/routing_constraint_zones/show.html.slim
@@ -17,7 +17,8 @@
= definition_list t('metadatas'),
{ @routing_constraint_zone.human_attribute_name(:name) => @routing_constraint_zone.try(:name),
@routing_constraint_zone.human_attribute_name(:route) => link_to(@routing_constraint_zone.try(:route_name), [@referential, @line, @routing_constraint_zone.route]),
- @routing_constraint_zone.human_attribute_name(:line) => link_to(@line.name, [@referential, @line])}
+ @routing_constraint_zone.human_attribute_name(:line) => link_to(@line.name, [@referential, @line]),
+ @routing_constraint_zone.human_attribute_name(:checksum) => @routing_constraint_zone.checksum}
.row
.col-lg-12
diff --git a/config/locales/routes.en.yml b/config/locales/routes.en.yml
index a056b8896..bd8358bdd 100644
--- a/config/locales/routes.en.yml
+++ b/config/locales/routes.en.yml
@@ -68,8 +68,8 @@ en:
one: "route"
other: "routes"
attributes:
- checksum: Checksum
route:
+ checksum: Checksum
wayback:
positive: "forward"
negative: "backward"
diff --git a/config/locales/routes.fr.yml b/config/locales/routes.fr.yml
index dd713058c..c08e64cfd 100644
--- a/config/locales/routes.fr.yml
+++ b/config/locales/routes.fr.yml
@@ -71,8 +71,8 @@ fr:
one: "itinéraire"
other: "itinéraires"
attributes:
- checksum: Signature métier
route:
+ checksum: Signature métier
wayback:
positive: "Aller"
negative: "Retour"
diff --git a/config/locales/routing_constraint_zones.en.yml b/config/locales/routing_constraint_zones.en.yml
index 34a10ac67..5675fd5db 100644
--- a/config/locales/routing_constraint_zones.en.yml
+++ b/config/locales/routing_constraint_zones.en.yml
@@ -7,6 +7,7 @@ en:
other: routing constraint zones
attributes:
routing_constraint_zone:
+ checksum: Checksum
name: Name
stop_areas: Stop areas
line: Line
diff --git a/config/locales/routing_constraint_zones.fr.yml b/config/locales/routing_constraint_zones.fr.yml
index 80bbad8cf..024dd3288 100644
--- a/config/locales/routing_constraint_zones.fr.yml
+++ b/config/locales/routing_constraint_zones.fr.yml
@@ -7,6 +7,7 @@ fr:
other: zone de contraintes
attributes:
routing_constraint_zone:
+ checksum: Signature métier
name: Nom
stop_areas: Arrêts
line: Ligne associée