Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-04-16 20:48:53 +0300
committerFilipa Lacerda <filipa@gitlab.com>2018-04-16 20:48:53 +0300
commite49aaf838a017d576b27d117cc298a99a313c0ac (patch)
tree3281a3523bc7e48f2fe8375157f42a4a75ad1c91 /app/views/discussions/_diff_with_notes.html.haml
parent4b2ff003920cff431ef4e3e8b0436aa924b34fda (diff)
Adds padding to the error block
Diffstat (limited to 'app/views/discussions/_diff_with_notes.html.haml')
-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 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