diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-10-03 10:24:58 -0500 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-10-03 10:35:32 -0500 |
commit | 8e14914b47128c996b6c73c501c3b48683e1c61d (patch) | |
tree | aa0f47629b67aa07fff43346f5b2b728b6151f96 | |
parent | f3a15c0304e86300786bbc1fdc883c1d5da7e59a (diff) | |
download | gitlab-ce-8e14914b47128c996b6c73c501c3b48683e1c61d.tar.gz |
Add translation method to external artifact tooltip
-rw-r--r-- | app/views/projects/artifacts/_tree_file.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/artifacts/_tree_file.html.haml b/app/views/projects/artifacts/_tree_file.html.haml index 0319fb0af65..4d31fe42723 100644 --- a/app/views/projects/artifacts/_tree_file.html.haml +++ b/app/views/projects/artifacts/_tree_file.html.haml @@ -9,7 +9,7 @@ class: ('tree-item-file-external-link js-artifact-tree-tooltip' if is_external_link), target: ('_blank' 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 - if is_external_link = icon('external-link', class: 'js-artifact-tree-external-icon') |