diff options
Diffstat (limited to 'templates/user/dashboard')
-rw-r--r-- | templates/user/dashboard/dashboard.tmpl | 15 |
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"> |