gitlab-org--gitlab-foss/app/views/tree/blob/_download.html.haml

8 lines
227 B
Text

.file_content.blob_file
%center
= link_to project_blob_path(@project, @id) do
%div.padded
%br
= image_tag "download.png", width: 64
%h3
Download (#{number_to_human_size blob.size})