diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-21 21:16:13 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-21 21:16:13 +0800 |
commit | 14ddb8b1fa9ccdd877f808112e38d2f0146fe3c2 (patch) | |
tree | 7ae45715e7d0b6005aea8a38d823f588862005db | |
parent | ecc61ced413a60fcfdc432b921dc2c1b3cab0366 (diff) | |
download | gitea-14ddb8b1fa9ccdd877f808112e38d2f0146fe3c2.tar.gz gitea-14ddb8b1fa9ccdd877f808112e38d2f0146fe3c2.zip |
fix dashboard repo link
-rwxr-xr-x | public/css/gogs.css | 3 | ||||
-rw-r--r-- | templates/user/dashboard.tmpl | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index aec8f1b328..9f16196616 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -397,7 +397,7 @@ html, body { } #gogs-feed-right .repo-panel .list-group-item a { - display: inline-block; + display: block; margin-left: 0; background-color: transparent; padding-left: 0; @@ -427,7 +427,6 @@ html, body { #gogs-feed-right .repo-panel span.stars { color: #666; - line-height: 44px; margin-right: 1em; } diff --git a/templates/user/dashboard.tmpl b/templates/user/dashboard.tmpl index c528185c01..72c31d3d8f 100644 --- a/templates/user/dashboard.tmpl +++ b/templates/user/dashboard.tmpl @@ -33,8 +33,9 @@ </div> <div class="panel-body"> <ul class="list-group">{{range .MyRepos}} - <li class="list-group-item"><i class="fa fa-book"></i><a href="/{{$.SignedUserName}}/{{.Name}}">{{.Name}}</a> + <li class="list-group-item"><a href="/{{$.SignedUserName}}/{{.Name}}"> <span class="stars pull-right"><i class="fa fa-star"></i>{{.NumStars}}</span> + <i class="fa fa-book"></i>{{.Name}}</a> </li>{{end}} </ul> </div> |