Browse Source

Merge pull request #2076 from Gibheer/new_mirror

add new mirror button to dashboard
Unknwon 9 years ago
parent
commit
b6d2b96259
1 changed files with 3 additions and 0 deletions
  1. 3 0
      templates/user/dashboard/dashboard.tmpl

+ 3 - 0
templates/user/dashboard/dashboard.tmpl

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