summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/_too_large.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/blob/_too_large.html.haml')
-rw-r--r--app/views/projects/blob/_too_large.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/projects/blob/_too_large.html.haml b/app/views/projects/blob/_too_large.html.haml
new file mode 100644
index 00000000000..a505f87df40
--- /dev/null
+++ b/app/views/projects/blob/_too_large.html.haml
@@ -0,0 +1,5 @@
+.file-content.code
+ .nothing-here-block
+ The file could not be displayed as it is too large, you can
+ #{link_to('view the raw file', namespace_project_raw_path(@project.namespace, @project, @id), target: '_blank', rel: 'noopener noreferrer')}
+ instead.