Commit 4df8e43f authored by Eric Eastwood's avatar Eric Eastwood

Add translation method to external artifact tooltip

parent f79f8a8c
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
class: ('tree-item-file-external-link js-artifact-tree-tooltip' if is_external_link), class: ('tree-item-file-external-link js-artifact-tree-tooltip' if is_external_link),
target: ('_blank' if is_external_link), target: ('_blank' if is_external_link),
rel: ('noopener noreferrer' if is_external_link), rel: ('noopener noreferrer' if is_external_link),
title: ('Opens in a new window' if is_external_link) do title: (_('Opens in a new window') if is_external_link) do
%span.str-truncated>= blob.name %span.str-truncated>= blob.name
- if is_external_link - if is_external_link
= icon('external-link', class: 'js-artifact-tree-external-icon') = icon('external-link', class: 'js-artifact-tree-external-icon')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment