Update _log.html.erb
Use translation entry that specific to this view instead of making from another expressions that cause wrong I18n e.g. in persian.
This commit is contained in:
parent
df53bdabed
commit
e9c4e15308
@ -25,7 +25,7 @@
|
||||
<% if revision %>
|
||||
<div class="dmsf-log-header-box">
|
||||
<div class="dmsf-log-header-left">
|
||||
<%= label_tag 'workflow_name', "#{l(:link_workflow)} #{l(:field_name).downcase} " %>
|
||||
<%= label_tag 'workflow_name', l(:field_label_dmsf_workflow_name) %>
|
||||
<% if User.current.allowed_to?(:manage_workflows, @dmsf_workflow.project) %>
|
||||
<%= link_to @dmsf_workflow.name, dmsf_workflow_path(@dmsf_workflow) %>
|
||||
<% else %>
|
||||
@ -103,4 +103,4 @@
|
||||
</table>
|
||||
</div>
|
||||
<% end %>
|
||||
</p>
|
||||
</p>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user