Commit a9555221 authored by Jacob Schatz's avatar Jacob Schatz

Fixes bug and gets repo running again.

parent bfe193d3
...@@ -14,7 +14,7 @@ export default class RepoSidebar { ...@@ -14,7 +14,7 @@ export default class RepoSidebar {
el: '#repo-file-buttons', el: '#repo-file-buttons',
data: () => Store, data: () => Store,
template: ` template: `
<div id='repo-file-buttons'> <div id='repo-file-buttons' v-if='!isTree'>
<a :href='rawFileURL' target='_blank' class='btn btn-default'>Download file</a> <a :href='rawFileURL' target='_blank' class='btn btn-default'>Download file</a>
<div class="btn-group" role="group" aria-label="File actions"> <div class="btn-group" role="group" aria-label="File actions">
<a :href='blameFileUrl' class='btn btn-default'>Blame</a> <a :href='blameFileUrl' class='btn btn-default'>Blame</a>
......
.tree-controls .tree-controls
%a.btn.btn-default.editable-mode{href='#'} %a.btn.btn-default.editable-mode{"href"=>"#"}
Edit mode Edit mode
= render 'projects/find_file_link' = render 'projects/find_file_link'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment