summaryrefslogtreecommitdiff
path: root/app/views/refs
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-06-11 20:52:32 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-06-11 20:52:32 +0300
commit04bf40a923910f36f306673dbcadf5e2747b03a1 (patch)
treec49d5395373ca86862703878fe41ad7e1ebc193d /app/views/refs
parenta6dad85d2f94d4e7763eb6b0daefde5f039ece34 (diff)
downloadgitlab-ce-04bf40a923910f36f306673dbcadf5e2747b03a1.tar.gz
Refactored theme css, added Modern theme pre version
Diffstat (limited to 'app/views/refs')
-rw-r--r--app/views/refs/_tree_file.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/refs/_tree_file.html.haml b/app/views/refs/_tree_file.html.haml
index 201028dc2ab..ee56ab36194 100644
--- a/app/views/refs/_tree_file.html.haml
+++ b/app/views/refs/_tree_file.html.haml
@@ -21,8 +21,7 @@
= preserve do
= raw file.colorize(options: { linenos: 'True'})
- else
- %h3
- %center Empty file
+ %h4.nothing_here_message Empty file
- elsif file.image?
.view_file_content_image
%img{ :src => "data:#{file.mime_type};base64,#{Base64.encode64(file.data)}"}