aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard/dashboard.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-01-29 15:28:24 -0500
committerUnknwon <u@gogs.io>2016-01-29 15:28:24 -0500
commitee814bf8d6c70c91bac19059ba37af0d91b2a1e0 (patch)
tree664d5e7c041d33c85809f9289710aa0263b9be29 /templates/user/dashboard/dashboard.tmpl
parenta4a23c02686690a052bd9eb522357cf2719c21c1 (diff)
downloadgitea-ee814bf8d6c70c91bac19059ba37af0d91b2a1e0.tar.gz
gitea-ee814bf8d6c70c91bac19059ba37af0d91b2a1e0.zip
#2491 minor fix for sr on dashboard
Diffstat (limited to 'templates/user/dashboard/dashboard.tmpl')
-rw-r--r--templates/user/dashboard/dashboard.tmpl15
1 files changed, 12 insertions, 3 deletions
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl
index 109b0bbe7d..667a0e6b64 100644
--- a/templates/user/dashboard/dashboard.tmpl
+++ b/templates/user/dashboard/dashboard.tmpl
@@ -18,7 +18,10 @@
<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="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>
+ <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>
+ <span class="sr-only">{{.i18n.Tr "new_repo"}}</span>
+ </a>
</div>
</h4>
<div class="ui attached table segment">
@@ -66,7 +69,10 @@
<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="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>
+ <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>
+ <span class="sr-only">{{.i18n.Tr "new_org"}}</span>
+ </a>
</div>
</h4>
<div class="ui attached table segment">
@@ -91,7 +97,10 @@
<h4 class="ui top attached header">
{{.i18n.Tr "home.my_mirrors"}} <span class="ui grey label">{{.MirrorCount}}</span>
<div class="ui right">
- <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>
+ <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>
+ <span class="sr-only">{{.i18n.Tr "new_mirror"}}</span>
+ </a>
</div>
</h4>
<div class="ui attached table segment">