summaryrefslogtreecommitdiff
path: root/app/views/discussions
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-04-16 12:30:46 +0100
committerFilipa Lacerda <filipa@gitlab.com>2018-04-16 12:30:46 +0100
commit8f189df86f6ebd2bd4974ce180ed75e9d97cd81e (patch)
treeadb6270d1d37bbd098964208c57c2b219b9fcf62 /app/views/discussions
parent96d8a5adf34f394a330684c08873a93bb791e1d3 (diff)
downloadgitlab-ce-8f189df86f6ebd2bd4974ce180ed75e9d97cd81e.tar.gz
Use different class for try again button in collapsed diffs
Diffstat (limited to 'app/views/discussions')
-rw-r--r--app/views/discussions/_diff_with_notes.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/discussions/_diff_with_notes.html.haml b/app/views/discussions/_diff_with_notes.html.haml
index c13a128835a..e026e6a83ae 100644
--- a/app/views/discussions/_diff_with_notes.html.haml
+++ b/app/views/discussions/_diff_with_notes.html.haml
@@ -31,7 +31,7 @@
%td.line_content.js-success-lazy-load
.js-code-placeholder
%td.line_content.js-error-lazy-load-diff.hidden
- - button = button_tag(_("Try again"), class: "btn-link btn-no-padding js-toggle-lazy-diff")
+ - button = button_tag(_("Try again"), class: "btn-link btn-no-padding js-toggle-lazy-diff-retry-button")
= _("Unable to load the diff. %{button_try_again}").html_safe % { button_try_again: button}
= render "discussions/diff_discussion", discussions: [discussion], expanded: true
- else