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:
salman 2021-11-25 19:07:07 +03:30 committed by GitHub
parent df53bdabed
commit e9c4e15308
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>