| ... | @@ -9,7 +9,11 @@ |
... | @@ -9,7 +9,11 @@ |
|
|
= link_to "history", project_commits_path(@project, path: params[:path], ref: @ref), class: "btn very_small"
|
|
= link_to "history", project_commits_path(@project, path: params[:path], ref: @ref), class: "btn very_small"
|
|
|
= link_to "blame", blame_file_project_ref_path(@project, @ref, path: params[:path]), class: "btn very_small"
|
|
= link_to "blame", blame_file_project_ref_path(@project, @ref, path: params[:path]), class: "btn very_small"
|
|
|
- if file.text?
|
|
- if file.text?
|
|
|
- if markup?(name)
|
|
- if gitlab_markdown?(name)
|
|
|
|
.file_content.wiki
|
|
|
|
= preserve do
|
|
|
|
= markdown(file.data)
|
|
|
|
- elsif markup?(name)
|
|
|
.file_content.wiki
|
|
.file_content.wiki
|
|
|
= raw GitHub::Markup.render(name, file.data)
|
|
= raw GitHub::Markup.render(name, file.data)
|
|
|
- else
|
|
- else
|
| ... | |
... | |
| ... | | ... | |