diff options
author | slene <vslene@gmail.com> | 2014-03-16 00:41:12 +0800 |
---|---|---|
committer | slene <vslene@gmail.com> | 2014-03-16 00:41:12 +0800 |
commit | 606ad6dcd03185c5755708af500072b2098dca3c (patch) | |
tree | 21c11ddaa20c6149afcbc0d0da37d9e6908042df /templates/user | |
parent | 3d032dfb5a287f333f78748546f9737f20edeb50 (diff) | |
download | gitea-606ad6dcd03185c5755708af500072b2098dca3c.tar.gz gitea-606ad6dcd03185c5755708af500072b2098dca3c.zip |
update user repos style
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/profile.tmpl | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index aa15cb88bb..84d3b13c92 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -46,10 +46,18 @@ {{else}} {{$owner := .Owner}} <div class="tab-pane active"> + <ul class="list-unstyled repo-list"> {{range .Repos}} - <h4><a href="/{{$owner.Name}}/{{.LowerName}}">{{.LowerName}}</a> <small>Star:{{.NumStars}} Fork:{{.NumForks}}</small></h4> - <p>{{.Description}}</p> + <li> + <div class="meta pull-right"><i class="fa fa-star"></i> {{.NumStars}} <i class="fa fa-code-fork"></i> {{.NumForks}}</div> + <h4> + <a href="/{{$owner.Name}}/{{.LowerName}}">{{.LowerName}}</a> + </h4> + <p class="desc">{{.Description}}</p> + <div class="info">Last updated {{.Updated|TimeSince}}</div> + </li> {{end}} + </ul> </div> {{end}} </div> |