Browse Source

UI: Bare repository does not have visual link to settings page

pull/357/head
Unknwon 11 years ago
parent
commit
08c6d07aad
  1. 5
      templates/repo/bare.tmpl
  2. 2
      templates/repo/settings/hook_new.tmpl

5
templates/repo/bare.tmpl

@ -14,7 +14,10 @@
<div id="repo-content" class="clear container">
<div id="repo-bare">
<div id="repo-bare-start" class="panel panel-radius">
<p class="panel-header"><strong>Quick Start</strong></p>
<div class="panel-header">
<a class="btn btn-small btn-black btn-header btn-radius right" href="{{.RepoLink}}/settings">{{.i18n.Tr "repo.settings"}}</a>
<strong>Quick Start</strong>
</div>
<div class="panel-content">
<div id="repo-clone" class="clear text-center">
<h2>Clone this repository</h2>

2
templates/repo/settings/hook_new.tmpl

@ -49,6 +49,7 @@
</form>
</div>
</div>
{{if .PageIsSettingsHooksEdit}}
<br>
<div id="setting-content">
<div id="repo-hooks-history-panel" class="panel panel-radius">
@ -60,6 +61,7 @@
</ul>
</div>
</div>
{{end}}
</div>
</div>
</div>

Loading…
Cancel
Save