diff options
| author | jpl | 2017-02-01 16:31:48 +0100 |
|---|---|---|
| committer | jpl | 2017-02-01 16:31:48 +0100 |
| commit | 33c882b95c68544905861e11cd9abebc60f5bd67 (patch) | |
| tree | 2111df94c896c0f078a82e99a4107d4c737ad62f | |
| parent | 14d2b69d158183e1c56d30377cde0aa1b0a6b6f7 (diff) | |
| download | chouette-core-33c882b95c68544905861e11cd9abebc60f5bd67.tar.bz2 | |
Refs #2482: fix tests
| -rw-r--r-- | app/views/workbenches/show.html.slim | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/workbenches/show.html.slim b/app/views/workbenches/show.html.slim index 20e12e2d0..9aa7f054d 100644 --- a/app/views/workbenches/show.html.slim +++ b/app/views/workbenches/show.html.slim @@ -25,12 +25,12 @@ .row .col-lg-12 .referentials.paginated_content - / h4 = "Liste des jeux de données#{' (tous)' if params[:show_all]}" - / h5 - / - if params[:show_all] - / = link_to t('referentials.show.from_this_workbench'), workbench_path(@workbench.id), class: 'button', disabled: params[:archived] - / - else - / = link_to t('referentials.show.show_all_referentials'), workbench_path(@workbench.id, show_all: true), class: 'btn btn-default' + h4 = "Liste des jeux de données#{' (tous)' if params[:show_all]}" + h5 + - if params[:show_all] + = link_to t('referentials.show.from_this_workbench'), workbench_path(@workbench.id), class: 'button', disabled: params[:archived] + - else + = link_to t('referentials.show.show_all_referentials'), workbench_path(@workbench.id, show_all: true), class: 'btn btn-default' table.table.table-bordered.table-hover thead |
