diff options
-rw-r--r-- | cmd/web.go | 2 | ||||
-rw-r--r-- | gogs.go | 2 | ||||
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/base/head.tmpl | 3 | ||||
-rw-r--r-- | templates/user/dashboard/dashboard.tmpl | 15 |
5 files changed, 17 insertions, 7 deletions
diff --git a/cmd/web.go b/cmd/web.go index a88dc92e9e..cf47d5c531 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -89,7 +89,7 @@ func checkVersion() { {"github.com/go-macaron/toolbox", toolbox.Version, "0.1.0"}, {"gopkg.in/ini.v1", ini.Version, "1.8.4"}, {"gopkg.in/macaron.v1", macaron.Version, "0.8.0"}, - {"github.com/gogits/git-module", git.Version, "0.2.3"}, + {"github.com/gogits/git-module", git.Version, "0.2.4"}, {"github.com/gogits/go-gogs-client", gogs.Version, "0.7.2"}, } for _, c := range checkers { @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.8.24.0128" +const APP_VER = "0.8.24.0129" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) 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"> |