Browse Source

fix dashboard repo link

tags/v1.2.0-rc1
FuXiaoHei 11 years ago
parent
commit
14ddb8b1fa
2 changed files with 3 additions and 3 deletions
  1. +1
    -2
      public/css/gogs.css
  2. +2
    -1
      templates/user/dashboard.tmpl

+ 1
- 2
public/css/gogs.css View File

@@ -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;
}



+ 2
- 1
templates/user/dashboard.tmpl View File

@@ -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>


Loading…
Cancel
Save