summaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-12 16:53:16 -0500
committerUnknwon <u@gogs.io>2015-12-12 16:53:16 -0500
commit837155577a18e911dc7b738952d5b4e2a0687c98 (patch)
tree3ce48b3de725dfa60c5612cda6d7197ef93e72c1 /templates/user
parent7e88420bc6591c1d352bd893f2f7e72f9495b869 (diff)
downloadgitea-837155577a18e911dc7b738952d5b4e2a0687c98.tar.gz
gitea-837155577a18e911dc7b738952d5b4e2a0687c98.zip
#2159 use icon+tooltip to replace text
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/dashboard/dashboard.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl
index 2c476dfa9b..86936efa68 100644
--- a/templates/user/dashboard/dashboard.tmpl
+++ b/templates/user/dashboard/dashboard.tmpl
@@ -18,7 +18,7 @@
<h4 class="ui top attached header">
{{.i18n.Tr "home.my_repos"}} <span class="ui grey label">{{.ContextUser.NumRepos}}</span>
<div class="ui right">
- <a class="ui blue tiny show-panel button" href="{{AppSubUrl}}/repo/create">{{.i18n.Tr "new_repo"}}</a>
+ <a class="poping up" href="{{AppSubUrl}}/repo/create" data-content="{{.i18n.Tr "new_repo"}}" data-variation="tiny inverted" data-position="left center"><i class="plus icon"></i></a>
</div>
</h4>
<div class="ui attached table segment">
@@ -64,7 +64,7 @@
<h4 class="ui top attached header">
{{.i18n.Tr "home.my_orgs"}} <span class="ui grey label">{{.ContextUser.GetOrganizationCount}}</span>
<div class="ui right">
- <a class="ui blue tiny show-panel button" href="{{AppSubUrl}}/org/create">{{.i18n.Tr "new_org"}}</a>
+ <a class="poping up" href="{{AppSubUrl}}/org/create" data-content="{{.i18n.Tr "new_org"}}" data-variation="tiny inverted" data-position="left center"><i class="plus icon"></i></a>
</div>
</h4>
<div class="ui attached table segment">
@@ -89,7 +89,7 @@
<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?mirror=1">{{.i18n.Tr "new_mirror"}}</a>
+ <a class="poping up" href="{{AppSubUrl}}/repo/migrate?mirror=1" data-content="{{.i18n.Tr "new_mirror"}}" data-variation="tiny inverted" data-position="left center"><i class="plus icon"></i></a>
</div>
</h4>
<div class="ui attached table segment">