diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-04-16 12:30:46 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-04-16 12:30:46 +0100 |
commit | 8f189df86f6ebd2bd4974ce180ed75e9d97cd81e (patch) | |
tree | adb6270d1d37bbd098964208c57c2b219b9fcf62 /app/views/discussions | |
parent | 96d8a5adf34f394a330684c08873a93bb791e1d3 (diff) | |
download | gitlab-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.haml | 2 |
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 |