lib/gollum/templates/overview.mustache in gollum-5.3.3 vs lib/gollum/templates/overview.mustache in gollum-6.0.0

- old
+ new

@@ -19,27 +19,37 @@ {{#files_folders}} <li class="Box-row"> <span class="pr-2">{{{icon}}}</span> <span><a href="{{url}}">{{name}}</a></span> {{#allow_editing}} - {{#is_file}}<button class="btn btn-sm float-right delete-file" data-file-path="{{file_path}}" data-confirm="Are you sure you want to delete {{name}}?">{{#octicon}}trash{{/octicon}}</button>{{/is_file}} - {{/allow_editing}} + {{#is_file}} + <button + class="btn btn-sm float-right delete-file" + data-confirm="{{t.delete_confirmation}}" + data-file-path="{{file_path}}" + > + {{#octicon}}trash{{/octicon}} + </button> + {{/is_file}} + {{/allow_editing}} </li> {{/files_folders}} </ul> </div> - - + + {{/has_results}} {{#no_results}} <p id="no-results"> - There are no pages in <strong>{{current_path}}</strong> on <strong>{{ref}}</strong>. + {{t.no_pages_in}} </p> {{/no_results}} </div> <div class="pt-4" id="footer"> - <a href="#">Back to Top</a> + <a href="#"> + {{t.back_to_top}} + </a> </div> </div>