Contributed by Silsha Fux <hallo@silsha.me>
Update "Attached Files" string in knowledge base to use existing translation.
This commit is contained in:
parent
3ed8463e3e
commit
96f6d5e0e5
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ data-available-locales='<%= @object_locales.map(&:locale).join(',') %>'>
|
||||||
<% if (attachments = @object.attachments_sorted) && attachments.present? %>
|
<% if (attachments = @object.attachments_sorted) && attachments.present? %>
|
||||||
<div class="attachments">
|
<div class="attachments">
|
||||||
<%= icon 'paperclip' %>
|
<%= icon 'paperclip' %>
|
||||||
<div class="attachments-title"><%= zt('Attached files') %></div>
|
<div class="attachments-title"><%= zt('Attached Files') %></div>
|
||||||
<% attachments.each do |attachment| %>
|
<% attachments.each do |attachment| %>
|
||||||
<%= link_to custom_path_if_needed(attachment_path(attachment)), class: 'attachment', download: true do %>
|
<%= link_to custom_path_if_needed(attachment_path(attachment)), class: 'attachment', download: true do %>
|
||||||
<span class="attachment-name u-highlight"><%= attachment.filename %></span>
|
<span class="attachment-name u-highlight"><%= attachment.filename %></span>
|
||||||
|
|
Loading…
Reference in a new issue