display bare repo page
This commit is contained in:
@@ -4,9 +4,6 @@
|
||||
{{template "repo/toolbar" .}}
|
||||
<div id="body" class="container">
|
||||
<div id="source">
|
||||
{{if .IsBareRepo}}
|
||||
{{template "repo/single_bare" .}}
|
||||
{{else}}
|
||||
<div class="source-toolbar">
|
||||
{{ $n := len .Treenames}}
|
||||
{{if not .IsFile}}<button class="btn btn-default pull-right hidden"><i class="fa fa-plus-square"></i>Add File</button>{{end}}
|
||||
@@ -38,7 +35,6 @@
|
||||
{{else}}
|
||||
{{template "repo/single_list" .}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
||||
|
||||
Reference in New Issue
Block a user