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

tokarchuk/v1.17
Unknwon 10 years ago
parent 9a1d5d2489
commit 08c6d07aad
  1. 5
      templates/repo/bare.tmpl
  2. 2
      templates/repo/settings/hook_new.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>

@ -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