add new mirror button to dashboard

This adds the button to create a new mirror on the dashboard at the same
place where "new repository" and "new organization" already exist.
This commit is contained in:
Gibheer 2015-12-01 21:05:34 +01:00
parent aaa3f1b2b9
commit 3d54f6c0a4
1 changed files with 3 additions and 0 deletions

View File

@ -88,6 +88,9 @@
<div class="ui tab list" data-tab="mirrors">
<h4 class="ui top attached header">
{{.i18n.Tr "home.my_mirrors"}} <span class="ui grey label">{{.MirrorCount}}</span>
<div class="ui right">
<a class="ui blue tiny show-panel button" href="{{AppSubUrl}}/repo/migrate">{{.i18n.Tr "new_migrate"}}</a>
</div>
</h4>
<div class="ui attached table segment">
<ul>