Link seems wrong in when clicking "Approval workflow name" #350
This commit is contained in:
parent
a5782cabfc
commit
c36ee00c6c
@ -1,6 +1,6 @@
|
|||||||
<%# Redmine plugin for Document Management System "Features"
|
<%# Redmine plugin for Document Management System "Features"
|
||||||
#
|
#
|
||||||
# Copyright (C) 2014 Karel Pičman <karel.picman@kontron.com>
|
# Copyright (C) 2011-15 Karel Pičman <karel.picman@kontron.com>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or
|
# This program is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU General Public License
|
# modify it under the terms of the GNU General Public License
|
||||||
@ -25,7 +25,7 @@
|
|||||||
<div class="log_header_left">
|
<div class="log_header_left">
|
||||||
<%= label_tag 'workflow_name', "#{l(:link_workflow)} #{l(:field_name).downcase}: " %>
|
<%= label_tag 'workflow_name', "#{l(:link_workflow)} #{l(:field_name).downcase}: " %>
|
||||||
<% if User.current.allowed_to?(:manage_workflows, @dmsf_workflow.project) %>
|
<% if User.current.allowed_to?(:manage_workflows, @dmsf_workflow.project) %>
|
||||||
<%= link_to @dmsf_workflow.name, edit_dmsf_workflow_path(@dmsf_workflow) %>
|
<%= link_to @dmsf_workflow.name, dmsf_workflow_path(@dmsf_workflow) %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= @dmsf_workflow.name %>
|
<%= @dmsf_workflow.name %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user