From 41953fdff5eb55de6cd4083bb851a937d825e0a3 Mon Sep 17 00:00:00 2001 From: Karel Picman Date: Fri, 17 Mar 2017 11:00:40 +0100 Subject: [PATCH] AWF log column in My Approvals --- app/views/my/blocks/_open_approvals.html.erb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/app/views/my/blocks/_open_approvals.html.erb b/app/views/my/blocks/_open_approvals.html.erb index c59ea7c0..16531c17 100644 --- a/app/views/my/blocks/_open_approvals.html.erb +++ b/app/views/my/blocks/_open_approvals.html.erb @@ -42,6 +42,7 @@ <%= l(:field_project) %> <%= l(:field_label_dmsf_workflow) %> + <%= l(:field_status) %> <%= l(:label_document) %> <%= l(:field_folder) %> @@ -61,6 +62,20 @@ edit_dmsf_workflow_path(assignment.dmsf_workflow_step.dmsf_workflow)) %> <% end %> + + <% if assignment.dmsf_workflow_step.dmsf_workflow %> + <%= link_to( + assignment.dmsf_file_revision.workflow_str(false), + log_dmsf_workflow_path( + :project_id => assignment.dmsf_file_revision.dmsf_file.project.id, + :id => assignment.dmsf_workflow_step.dmsf_workflow.id, + :dmsf_file_revision_id => assignment.dmsf_file_revision.id), + :title => assignment.dmsf_file_revision.workflow_tooltip, + :remote => true) %> + <% else %> + <%= assignment.dmsf_file_revision.workflow_str(false) %> + <% end %> + <% if assignment.dmsf_file_revision && assignment.dmsf_file_revision.dmsf_file %> <%= link_to(h(assignment.dmsf_file_revision.title),