gitlab-org--gitlab-foss/app/views/projects/blob
Robert Speicher 8c454b3624 Add a Blob model that wraps Gitlab::Git::Blob
This allows us to take advantage of Rails' `to_partial_path` to render
the correct partial based on the Blob type, rather than cluttering the
view with conditionals.

It also allows (and will allow in the future) better encapsulation for
Blob-related logic which makes sense for our Rails app but might not
make as much sense for the core `gitlab_git` library, such as detecting
if the blob is an SVG.
2016-02-18 22:45:30 -05:00
..
_actions.html.haml Fix specs and behavior for LFS files 2015-12-18 16:14:12 +01:00
_blob.html.haml Add a Blob model that wraps Gitlab::Git::Blob 2016-02-18 22:45:30 -05:00
_download.html.haml Add specs for showing lfs object in UI. 2015-12-07 15:03:50 +01:00
_editor.html.haml Preserve trailing new lines at the end of file on the online editor 2015-12-14 18:22:28 -02:00
_header_title.html.haml
_image.html.haml Add a Blob model that wraps Gitlab::Git::Blob 2016-02-18 22:45:30 -05:00
_new_dir.html.haml Automatically fork a project when not allowed to edit a file. 2015-12-18 10:03:34 +01:00
_remove.html.haml
_text.html.haml Move load command into _text partial 2016-02-02 14:17:08 +01:00
_upload.html.haml Automatically fork a project when not allowed to edit a file. 2015-12-18 10:03:34 +01:00
diff.html.haml Use consistent markup and styling for highlighting across blobs, diffs, blame and snippets 2016-01-21 14:23:53 +01:00
edit.html.haml Replace all navigation menu with nav-links class 2016-01-13 15:58:04 +01:00
new.html.haml
preview.html.haml Highlight note code and edit preview 2016-01-25 11:42:47 +01:00
show.html.haml Automatically fork a project when not allowed to edit a file. 2015-12-18 10:03:34 +01:00