aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/workbenches/index.html.slim
diff options
context:
space:
mode:
authorjpl2017-07-18 14:01:01 +0200
committerjpl2017-07-18 14:01:01 +0200
commit85803b93d1d374ec34f6a04ac6a2f24c956129c6 (patch)
treee62c63a4c16411d4ec053b318c93b377a1d7e9dc /app/views/workbenches/index.html.slim
parentc252c92cd9e78f6046ea5e9c82f2842f559368bc (diff)
downloadchouette-core-85803b93d1d374ec34f6a04ac6a2f24c956129c6.tar.bz2
Refs #4108: updating layout according to new specs
Diffstat (limited to 'app/views/workbenches/index.html.slim')
-rw-r--r--app/views/workbenches/index.html.slim12
1 files changed, 5 insertions, 7 deletions
diff --git a/app/views/workbenches/index.html.slim b/app/views/workbenches/index.html.slim
index 833a22fb0..1bd116a85 100644
--- a/app/views/workbenches/index.html.slim
+++ b/app/views/workbenches/index.html.slim
@@ -35,9 +35,8 @@
= t('.offers.referentials')
span.badge.ml-xs = @workbench.referentials.count if @workbench.all_referentials.any?
- - if @workbench.all_referentials.any?
- div
- = link_to '', workbench_path(@workbench), class: ' fa fa-chevron-right pull-right', title: t('.offers.see')
+ div
+ = link_to '', workbench_path(@workbench), class: ' fa fa-chevron-right pull-right', title: t('.offers.see')
- if @workbench.all_referentials.any?
.list-group
@@ -54,10 +53,9 @@
div
= t('.offers.calendars')
span.badge.ml-xs = @calendars.count if @calendars.any?
-
- - if @calendars.any?
- div
- = link_to '', calendars_path, class: ' fa fa-chevron-right pull-right', title: t('.offers.see')
+
+ div
+ = link_to '', calendars_path, class: ' fa fa-chevron-right pull-right', title: t('.offers.see')
- if @calendars.any?
.list-group