aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/workbenches/show.html.slim
diff options
context:
space:
mode:
authorAlban Peignier2018-01-11 21:43:22 +0100
committerAlban Peignier2018-01-11 22:03:34 +0100
commit13de613c6db20e32f58ca16b5b3c58e79b5e8d70 (patch)
tree99334c94543e6d7f13301b175dd3de48352a47fc /app/views/workbenches/show.html.slim
parent1fd6d7d0cfb63b024860d1c29fca089432fce2e1 (diff)
downloadchouette-core-13de613c6db20e32f58ca16b5b3c58e79b5e8d70.tar.bz2
Add Referential#merged_at and make Referentials archived and merged. Refs #5559
Diffstat (limited to 'app/views/workbenches/show.html.slim')
-rw-r--r--app/views/workbenches/show.html.slim4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/workbenches/show.html.slim b/app/views/workbenches/show.html.slim
index 17ad75051..8907f3f08 100644
--- a/app/views/workbenches/show.html.slim
+++ b/app/views/workbenches/show.html.slim
@@ -54,8 +54,8 @@
attribute: Proc.new {|w| l(w.updated_at, format: :short)} \
), \
TableBuilderHelper::Column.new( \
- key: :published_at, \
- attribute: '' \
+ key: :merged_at, \
+ attribute: Proc.new {|w| w.merged_at ? l(w.merged_at, format: :short) : '-'} \
) \
],
selectable: ->(ref){ @workbench.referentials.include?(ref) },