From dca28c946f4dcfacb8d5214a52d5d152c8c731fb Mon Sep 17 00:00:00 2001 From: Jacob Schatz Date: Tue, 11 Jul 2017 00:21:06 -0400 Subject: Get README to render. --- app/views/projects/tree/_tree_content.html.haml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views/projects/tree/_tree_content.html.haml') diff --git a/app/views/projects/tree/_tree_content.html.haml b/app/views/projects/tree/_tree_content.html.haml index 2aed61b0a8f..f3f367d941e 100644 --- a/app/views/projects/tree/_tree_content.html.haml +++ b/app/views/projects/tree/_tree_content.html.haml @@ -21,6 +21,7 @@ #ide{ data: { url: repo_url } } #binary-viewer{ "v-if" => "binary" } %img{"v-if" => "binaryTypes.png", ":src" => "pngBlobWithDataURI"} + %div{"v-if" => "binaryTypes.markdown", "v-html" => "activeFile.html"} - if can_edit_tree? = render 'projects/blob/upload', title: _('Upload New File'), placeholder: _('Upload New File'), button_title: _('Upload file'), form_path: namespace_project_create_blob_path(@project.namespace, @project, @id), method: :post = render 'projects/blob/new_dir' -- cgit v1.2.1