summaryrefslogtreecommitdiff
path: root/app/views/projects/tree/_readme.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-05-29 10:24:35 +0100
committerPhil Hughes <me@iamphill.com>2019-05-29 10:24:35 +0100
commit1224aa516eefe7be1c8ca306625d5d0b6d524d76 (patch)
tree0fe19052d0496ecef64a1f0727a3dc97a85c4d1e /app/views/projects/tree/_readme.html.haml
parent4a9387242dbbfee9e9ddc7b46eb69ad6a2f4ba2c (diff)
downloadgitlab-ce-1224aa516eefe7be1c8ca306625d5d0b6d524d76.tar.gz
Created repository list breadcrumbs Vue app
Diffstat (limited to 'app/views/projects/tree/_readme.html.haml')
-rw-r--r--app/views/projects/tree/_readme.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tree/_readme.html.haml b/app/views/projects/tree/_readme.html.haml
index e935af23659..4f6c7e1f9a6 100644
--- a/app/views/projects/tree/_readme.html.haml
+++ b/app/views/projects/tree/_readme.html.haml
@@ -1,5 +1,5 @@
- if readme.rich_viewer
- %article.file-holder.readme-holder{ id: 'readme', class: [("limited-width-container" unless fluid_layout), ("js-hide-on-navigation" if Feature.enabled?(:vue_file_list, @project))] }
+ %article.file-holder.readme-holder{ id: 'readme', class: [("limited-width-container" unless fluid_layout), ("js-hide-on-navigation" if vue_file_list_enabled?)] }
.js-file-title.file-title
= blob_icon readme.mode, readme.name
= link_to project_blob_path(@project, tree_join(@ref, readme.path)) do