From e7d3be9505424e357c1115d2672f5a961008e1ea Mon Sep 17 00:00:00 2001 From: Karel Picman Date: Tue, 26 Nov 2013 14:08:11 +0100 Subject: [PATCH] #179 - Workflow Log History in Detailed View --- app/views/dmsf_files/show.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/dmsf_files/show.html.erb b/app/views/dmsf_files/show.html.erb index 86cb0b64..6c373114 100644 --- a/app/views/dmsf_files/show.html.erb +++ b/app/views/dmsf_files/show.html.erb @@ -125,6 +125,7 @@ <%= label_tag('', "#{l(:label_workflow)}:") %> <% wf = DmsfWorkflow.find_by_id(revision.dmsf_workflow_id) %> <% if wf %> + <%= "#{wf.name} - " %> <%= link_to( revision.workflow_str(false), log_dmsf_workflow_path( @@ -134,7 +135,7 @@ :title => DmsfWorkflow.assignments_to_users_str(wf.next_assignments(revision.id)), :remote => true) %> <% else %> - <%= revision.workflow_str(false) %> + <%= revision.workflow_str(true) %> <% end %>