aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/referential_companies
diff options
context:
space:
mode:
authorjpl2017-07-04 16:09:51 +0200
committerjpl2017-07-04 16:10:05 +0200
commit758264a532f84b5820db56a698ccf7910de81107 (patch)
tree77f3926e2969e00af27b97861d3bd2b32d97c657 /app/views/referential_companies
parente9f0dc0a0a5ede199158c6b035e192c555621894 (diff)
downloadchouette-core-758264a532f84b5820db56a698ccf7910de81107.tar.bz2
Refs #3961: updating wording
Diffstat (limited to 'app/views/referential_companies')
-rw-r--r--app/views/referential_companies/index.html.slim4
-rw-r--r--app/views/referential_companies/show.html.slim2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/referential_companies/index.html.slim b/app/views/referential_companies/index.html.slim
index 7a033fb5f..85d1d416d 100644
--- a/app/views/referential_companies/index.html.slim
+++ b/app/views/referential_companies/index.html.slim
@@ -1,7 +1,7 @@
/ PageHeader
= pageheader 'map-marker',
t('companies.index.title'),
- 'Lorem ipsum dolor sit amet',
+ '',
'',
(policy(Chouette::Company).create? ? link_to(t('companies.actions.new'), new_referential_company_path(@referential), class: 'btn btn-default') : '')
@@ -23,7 +23,7 @@
.row
.col-lg-12
= table_builder @companies,
- { 'ID Codif' => Proc.new { |n| n.try(:objectid).try(:local_id) },
+ { 'ID Codifligne' => Proc.new { |n| n.try(:objectid).try(:local_id) },
:name => 'name', :phone => 'phone', :email => 'email', :url => 'url' },
[:show, :edit, :delete],
[],
diff --git a/app/views/referential_companies/show.html.slim b/app/views/referential_companies/show.html.slim
index ae89c1444..177ce2d69 100644
--- a/app/views/referential_companies/show.html.slim
+++ b/app/views/referential_companies/show.html.slim
@@ -22,7 +22,7 @@
.row
.col-lg-6.col-md-6.col-sm-12.col-xs-12
= definition_list t('metadatas'),
- { 'ID Codif' => @company.try(:objectid).try(:local_id),
+ { t('id_codif') => @company.try(:objectid).try(:local_id),
Chouette::Company.human_attribute_name(:phone) => @company.phone,
Chouette::Company.human_attribute_name(:email) => @company.email,
Chouette::Company.human_attribute_name(:url) => @company.url }