Browse Source

Merge pull request #51 from crackcomm/master

My mistake in #50
pull/55/head
无闻 11 years ago
parent
commit
67bd2daa02
  1. 8
      templates/repo/single_file.tmpl

8
templates/repo/single_file.tmpl

@ -13,11 +13,11 @@
{{end}} {{end}}
{{if not .ReadmeInSingle}} {{if not .ReadmeInSingle}}
<div class="btn-group pull-right"> <div class="btn-group pull-right">
<a class="btn btn-default" href="#">Edit</a> <a class="btn btn-default hidden" href="#">Edit</a>
<a class="btn btn-default" href="{{.FileLink}}">Raw</a> <a class="btn btn-default" href="{{.FileLink}}">Raw</a>
<a class="btn btn-default" href="#">Blame</a> <a class="btn btn-default hidden" href="#">Blame</a>
<a class="btn btn-default" href="#">History</a> <a class="btn btn-default hidden" href="#">History</a>
<a class="btn btn-danger" href="#">Delete</a> <a class="btn btn-danger hidden" href="#">Delete</a>
</div> </div>
{{end}} {{end}}
</div> </div>

Loading…
Cancel
Save