aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorjpl2017-03-31 15:14:30 +0200
committerjpl2017-03-31 15:14:30 +0200
commitcb8ff6145e0ee05c9f016e91f6c0f66919b8fe29 (patch)
tree006f738584822510757751b58e81e7a504efc3e0 /app/views
parent29bcf61cb5907f49fb1ee676899f81d056ca7fce (diff)
downloadchouette-core-cb8ff6145e0ee05c9f016e91f6c0f66919b8fe29.tar.bz2
Refs #3013: updating status columns/filters, with new icon set
Diffstat (limited to 'app/views')
-rw-r--r--app/views/workbenches/_filters.html.slim2
-rw-r--r--app/views/workbenches/show.html.slim2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/workbenches/_filters.html.slim b/app/views/workbenches/_filters.html.slim
index 2f96dba1e..7c5055963 100644
--- a/app/views/workbenches/_filters.html.slim
+++ b/app/views/workbenches/_filters.html.slim
@@ -15,7 +15,7 @@
= f.label @wbench_refs.human_attribute_name(:status), required: false, class: 'control-label'
.form-group.checkbox_list
= f.input :archived_at_not_null, label: ("<span>Conservé<span class='fa fa-archive'></span></span>").html_safe, as: :boolean, wrapper_html: { class: 'checkbox-wrapper' }
- = f.input :archived_at_null, label: ("<span>En préparation<span class='fa fa-pencil'></span></span>").html_safe, as: :boolean, wrapper_html: { class: 'checkbox-wrapper' }
+ = f.input :archived_at_null, label: ("<span>En préparation<span class='sb sb-lg sb-preparing'></span></span>").html_safe, as: :boolean, wrapper_html: { class: 'checkbox-wrapper' }
.form-group.togglable
= f.label 'Organisation(s)', required: false, class: 'control-label'
diff --git a/app/views/workbenches/show.html.slim b/app/views/workbenches/show.html.slim
index 1bd86af16..2d13501b7 100644
--- a/app/views/workbenches/show.html.slim
+++ b/app/views/workbenches/show.html.slim
@@ -22,7 +22,7 @@
.col-lg-12
= table_builder @wbench_refs,
{ :name => 'name',
- :status => Proc.new {|w| w.archived? ? ("<div class='td-block'><span class='fa fa-archive'></span><span>Conservé</span></div>").html_safe : ("<div class='td-block'><span class='fa fa-pencil'></span><span>En préparation</span></div>").html_safe},
+ :status => Proc.new {|w| w.archived? ? ("<div class='td-block'><span class='fa fa-archive'></span><span>Conservé</span></div>").html_safe : ("<div class='td-block'><span class='sb sb-lg sb-preparing'></span><span>En préparation</span></div>").html_safe},
:organisation => Proc.new {|w| w.organisation.name},
:validity_period => Proc.new {|w| w.validity_period.nil? ? '-' : t('validity_range', debut: l(w.try(:validity_period).try(:begin), format: :short), end: l(w.try(:validity_period).try(:end), format: :short))},
:lines => Proc.new {|w| w.lines.count},