aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinhui2016-10-14 11:19:58 +0200
committerXinhui2016-10-14 11:19:58 +0200
commit8a21f5a29ef57c1fc0b5a2cb398873df303f827b (patch)
treea0c658c41f891e7bd08b0ca2ed319e4e2e3daf53
parent64e708a7c9eb3998b7f0f54e77195966b74dda66 (diff)
downloadchouette-core-8a21f5a29ef57c1fc0b5a2cb398873df303f827b.tar.bz2
Remove companies delete link && line referential edit link
-rw-r--r--app/views/companies/_companies.html.slim2
-rw-r--r--app/views/line_referentials/show.html.slim1
2 files changed, 1 insertions, 2 deletions
diff --git a/app/views/companies/_companies.html.slim b/app/views/companies/_companies.html.slim
index 4f89e8ede..028a21af4 100644
--- a/app/views/companies/_companies.html.slim
+++ b/app/views/companies/_companies.html.slim
@@ -5,7 +5,7 @@
.companies.paginated_content style="margin-top:20px;"
= table_builder @decoratedcompanies,
[:name, :edited_at, :published_at, :validity_period, :linecount, :transporter, :status],
- ["show", "delete"],
+ ["show"],
'table table-bordered'
.pagination
diff --git a/app/views/line_referentials/show.html.slim b/app/views/line_referentials/show.html.slim
index 408a07c2d..406da8fee 100644
--- a/app/views/line_referentials/show.html.slim
+++ b/app/views/line_referentials/show.html.slim
@@ -39,5 +39,4 @@
- content_for :sidebar do
ul.actions
- li = link_to t('line_referentials.actions.edit'), edit_line_referential_path(@line_referential), class: 'edit'
li = link_to t('line_referentials.actions.sync'), sync_line_referential_path(@line_referential), class: 'sync', method: :post