2017-05-17 16:29:42 -04:00
|
|
|
- if readme.rich_viewer
|
2017-06-23 06:33:47 -04:00
|
|
|
%article.file-holder.readme-holder{ class: ("limited-width-container" unless fluid_layout) }
|
2017-05-17 16:29:42 -04:00
|
|
|
.js-file-title.file-title
|
|
|
|
= blob_icon readme.mode, readme.name
|
2017-06-29 13:06:35 -04:00
|
|
|
= link_to project_blob_path(@project, tree_join(@ref, readme.path)) do
|
2017-05-17 16:29:42 -04:00
|
|
|
%strong
|
|
|
|
= readme.name
|
2017-05-08 19:52:05 -04:00
|
|
|
|
2017-06-29 13:06:35 -04:00
|
|
|
= render 'projects/blob/viewer', viewer: readme.rich_viewer, viewer_url: project_blob_path(@project, tree_join(@ref, readme.path), viewer: :rich, format: :json)
|