summaryrefslogtreecommitdiff
path: root/app/views/projects/diffs/_render_error.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/diffs/_render_error.html.haml')
-rw-r--r--app/views/projects/diffs/_render_error.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/projects/diffs/_render_error.html.haml b/app/views/projects/diffs/_render_error.html.haml
new file mode 100644
index 00000000000..47a9ac3ee6b
--- /dev/null
+++ b/app/views/projects/diffs/_render_error.html.haml
@@ -0,0 +1,6 @@
+.nothing-here-block
+ This #{viewer.switcher_title} could not be displayed because #{diff_render_error_reason(viewer)}.
+
+ You can
+ = diff_render_error_options(viewer).to_sentence(two_words_connector: ' or ', last_word_connector: ', or ').html_safe
+ instead.