lib/gollum/templates/overview.mustache in gollum-5.0.1 vs lib/gollum/templates/overview.mustache in gollum-5.1
- old
+ new
@@ -14,12 +14,12 @@
<div class="Box">
<ul>
{{#files_folders}}
<li class="Box-row">
<span class="pr-2">{{{icon}}}</span>
- <span><a href={{url}}>{{name}}</a></span>
+ <span><a href="{{url}}">{{name}}</a></span>
{{#allow_editing}}
- {{#is_file}}<button class="btn btn-sm float-right delete-file" data-file-path={{name}} data-confirm="Are you sure you want to delete {{name}}?">{{#octicon}}trashcan{{/octicon}}</button>{{/is_file}}
+ {{#is_file}}<button class="btn btn-sm float-right delete-file" data-file-path="{{url}}" data-confirm="Are you sure you want to delete {{name}}?">{{#octicon}}trashcan{{/octicon}}</button>{{/is_file}}
{{/allow_editing}}
</li>
{{/files_folders}}
</ul>
</div>