Extract out tree/blob/* partials
This commit is contained in:
parent
1f4d8eac24
commit
d060856044
4 changed files with 28 additions and 27 deletions
2
app/views/tree/blob/_image.html.haml
Normal file
2
app/views/tree/blob/_image.html.haml
Normal file
|
@ -0,0 +1,2 @@
|
|||
.file_content.image_file
|
||||
%img{ src: "data:#{blob.mime_type};base64,#{Base64.encode64(blob.data)}"}
|
Loading…
Add table
Add a link
Reference in a new issue