diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-04-16 20:48:53 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-04-16 20:48:53 +0300 |
commit | e49aaf838a017d576b27d117cc298a99a313c0ac (patch) | |
tree | 3281a3523bc7e48f2fe8375157f42a4a75ad1c91 /app/views/discussions | |
parent | 4b2ff003920cff431ef4e3e8b0436aa924b34fda (diff) |
Adds padding to the error block
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 b27d73c803c..646e89e9bd1 100644 --- a/app/views/discussions/_diff_with_notes.html.haml +++ b/app/views/discussions/_diff_with_notes.html.haml @@ -30,7 +30,7 @@ %td.new_line.diff-line-num %td.line_content.js-success-lazy-load .js-code-placeholder - %td.line_content.js-error-lazy-load-diff.hidden + %td.js-error-lazy-load-diff.hidden.diff-loading-error-block - button = button_tag(_("Try again"), class: "btn-link btn-link-retry 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 |