diff options
| author | Xinhui | 2018-01-04 12:27:57 +0100 | 
|---|---|---|
| committer | Xinhui | 2018-01-04 12:27:57 +0100 | 
| commit | 7ecfdc84155deab52c2747dc5681d706d7ede821 (patch) | |
| tree | 150cd168101484ed2c61a5d1750c7a33e48fe6f9 | |
| parent | 0285fa5a76a88e613d24c4a93aaf0005b1224d7b (diff) | |
| download | chouette-core-7ecfdc84155deab52c2747dc5681d706d7ede821.tar.bz2 | |
Display checksum for routes
Refs #5460
| -rw-r--r-- | app/views/routes/show.html.slim | 3 | ||||
| -rw-r--r-- | config/locales/routes.en.yml | 1 | ||||
| -rw-r--r-- | config/locales/routes.fr.yml | 1 | 
3 files changed, 4 insertions, 1 deletions
| diff --git a/app/views/routes/show.html.slim b/app/views/routes/show.html.slim index 2b4ebf159..644f79022 100644 --- a/app/views/routes/show.html.slim +++ b/app/views/routes/show.html.slim @@ -22,7 +22,8 @@            { t('objectid') => @route.get_objectid.short_id,              t('activerecord.attributes.route.published_name') => (@route.published_name ? @route.published_name : '-'),              @route.human_attribute_name(:wayback) => (@route.wayback ? @route.wayback_text : '-' ), -            @route.human_attribute_name(:opposite_route) => (@route.opposite_route ? @route.opposite_route.name : '-') } +            @route.human_attribute_name(:opposite_route) => (@route.opposite_route ? @route.opposite_route.name : '-'), +            @route.human_attribute_name(:checksum) => @route.checksum }        - if @route_sp.any?          .col-lg-6.col-md-6.col-sm-12.col-xs-12 diff --git a/config/locales/routes.en.yml b/config/locales/routes.en.yml index 7b82e788b..a056b8896 100644 --- a/config/locales/routes.en.yml +++ b/config/locales/routes.en.yml @@ -68,6 +68,7 @@ en:          one:   "route"          other: "routes"      attributes: +      checksum: Checksum        route:          wayback:            positive: "forward" diff --git a/config/locales/routes.fr.yml b/config/locales/routes.fr.yml index 1d151e60b..dd713058c 100644 --- a/config/locales/routes.fr.yml +++ b/config/locales/routes.fr.yml @@ -71,6 +71,7 @@ fr:          one:   "itinéraire"          other: "itinéraires"      attributes: +      checksum: Signature métier        route:          wayback:            positive: "Aller" | 
