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

This commit is contained in:
Unknwon 2014-08-09 15:50:06 -07:00
parent 9a1d5d2489
commit 08c6d07aad
2 changed files with 6 additions and 1 deletions

View file

@ -14,7 +14,10 @@
<div id="repo-content" class="clear container"> <div id="repo-content" class="clear container">
<div id="repo-bare"> <div id="repo-bare">
<div id="repo-bare-start" class="panel panel-radius"> <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 class="panel-content">
<div id="repo-clone" class="clear text-center"> <div id="repo-clone" class="clear text-center">
<h2>Clone this repository</h2> <h2>Clone this repository</h2>

View file

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