summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-01 16:33:00 -0500
committerUnknwon <u@gogs.io>2015-12-01 16:33:00 -0500
commitb6d2b96259984754351b8f24036e840ef6a916aa (patch)
treef28b648578f5fe20d6c66e981d717ed4021c4e22 /templates
parent2093586241e92e419b479b8a3be84aa37aa63a0a (diff)
parent3d54f6c0a408af328499a80ca9e8ea2dd8618237 (diff)
downloadgitea-b6d2b96259984754351b8f24036e840ef6a916aa.tar.gz
gitea-b6d2b96259984754351b8f24036e840ef6a916aa.zip
Merge pull request #2076 from Gibheer/new_mirror
add new mirror button to dashboard
Diffstat (limited to 'templates')
-rw-r--r--templates/user/dashboard/dashboard.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl
index b5be8f8fa5..3bc6f9f6ca 100644
--- a/templates/user/dashboard/dashboard.tmpl
+++ b/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>