summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2015-12-01 21:05:34 +0100
committerGibheer <gibheer@gmail.com>2015-12-01 21:10:36 +0100
commit3d54f6c0a408af328499a80ca9e8ea2dd8618237 (patch)
tree2e7b7bfbe2277b3af965c0f7ee17176cc83a05ea /templates
parentaaa3f1b2b9de437386185670bcc135202f1d8099 (diff)
downloadgitea-3d54f6c0a408af328499a80ca9e8ea2dd8618237.tar.gz
gitea-3d54f6c0a408af328499a80ca9e8ea2dd8618237.zip
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.
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>