diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-02 16:55:36 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-02 16:55:36 +0300 |
commit | 59c3ec4e67f598e1a67df233f2d12fbec3d033dc (patch) | |
tree | e37f9958b1706ba8615ded07457162913214d351 /app/views/projects/blame | |
parent | a3da3d8e3b60f8eeca716ce231ab5670a637e3eb (diff) |
Use file-type specific file icon in blame view and diff item
Diffstat (limited to 'app/views/projects/blame')
-rw-r--r-- | app/views/projects/blame/show.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/blame/show.html.haml b/app/views/projects/blame/show.html.haml index 6518c4173e1..8d9ec068a43 100644 --- a/app/views/projects/blame/show.html.haml +++ b/app/views/projects/blame/show.html.haml @@ -6,7 +6,7 @@ #tree-holder.tree-holder .file-holder .file-title - %i.fa.fa-file + = blob_icon @blob.mode, @blob.name %strong = @path %small= number_to_human_size @blob.size @@ -43,4 +43,3 @@ - blame_group[:lines].each do |line| :erb <%= highlight(@blob.name, line, nowrap: true, continue: true).html_safe %> - |