summaryrefslogtreecommitdiffstats
path: root/templates
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
parenta4a23c02686690a052bd9eb522357cf2719c21c1 (diff)
downloadgitea-ee814bf8d6c70c91bac19059ba37af0d91b2a1e0.tar.gz
gitea-ee814bf8d6c70c91bac19059ba37af0d91b2a1e0.zip
#2491 minor fix for sr on dashboard
Diffstat (limited to 'templates')
-rw-r--r--templates/.VERSION2
-rw-r--r--templates/base/head.tmpl3
-rw-r--r--templates/user/dashboard/dashboard.tmpl15
3 files changed, 15 insertions, 5 deletions
diff --git a/templates/.VERSION b/templates/.VERSION
index 677deac14e..c9116fb65b 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.8.24.0128 \ No newline at end of file
+0.8.24.0129 \ No newline at end of file
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 4b1fa295ea..7edea21b63 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -68,7 +68,7 @@
<div class="right menu">
<div class="ui dropdown head link jump item poping up" data-content="{{.i18n.Tr "create_new"}}" data-variation="tiny inverted">
<span class="text">
- <i class="octicon octicon-plus"></i>
+ <i class="octicon octicon-plus"><span class="sr-only">{{.i18n.Tr "create_new"}}</span></i>
<i class="octicon octicon-triangle-down"></i>
</span>
<div class="menu">
@@ -87,6 +87,7 @@
<div class="ui dropdown head link jump item poping up" tabindex="-1" data-content="{{.i18n.Tr "user_profile_and_more"}}" data-variation="tiny inverted">
<span class="text avatar">
<img class="ui small rounded image" src="{{.SignedUser.AvatarLink}}">
+ <span class="sr-only">{{.i18n.Tr "user_profile_and_more"}}</span>
<i class="octicon octicon-triangle-down" tabindex="-1"></i>
</span>
<div class="menu" tabindex="-1">
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">