Extract out tree/blob/* partials
This commit is contained in:
parent
1f4d8eac24
commit
d060856044
4 changed files with 28 additions and 27 deletions
8
app/views/tree/blob/_download.html.haml
Normal file
8
app/views/tree/blob/_download.html.haml
Normal file
|
@ -0,0 +1,8 @@
|
|||
.file_content.blob_file
|
||||
%center
|
||||
= link_to project_blob_path(@project, @id) do
|
||||
%div.padded
|
||||
%br
|
||||
= image_tag "download.png", width: 64
|
||||
%h3
|
||||
Download (#{blob.mb_size})
|
Loading…
Add table
Add a link
Reference in a new issue