summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-10-03 00:33:13 -0500
committerEric Eastwood <contact@ericeastwood.com>2017-10-03 00:50:10 -0500
commit6e86a1c960bddf4fd15d92f9276da6b80cf149b7 (patch)
tree9a25efe2fa88b9c501433bfbb16ec4a0c5d12721 /app/views
parent2a178d27083cab7452d4e275dfd2f396cda02176 (diff)
downloadgitlab-ce-6e86a1c960bddf4fd15d92f9276da6b80cf149b7.tar.gz
Add test for external HTML artifact
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/artifacts/_tree_file.html.haml2
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 78df1dab9d6..10e238b6ba1 100644
--- a/app/views/projects/artifacts/_tree_file.html.haml
+++ b/app/views/projects/artifacts/_tree_file.html.haml
@@ -12,6 +12,6 @@
title: ('Opens in a new window' if is_external_link) do
%span.str-truncated>= blob.name
- if is_external_link
- = icon('external-link')
+ = icon('external-link', class: 'js-artifact-tree-external-icon')
%td
= number_to_human_size(blob.size, precision: 2)