diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-12 20:35:35 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-12 20:35:35 -0400 |
commit | 90f6aa8cd19e489723ddffc40d6507782c29756c (patch) | |
tree | e247229573a4d32ca1d508619951a9868690840f /templates/user/profile.tmpl | |
parent | 23bba7633bbd8ae8f9f41404352c327f9e8c9fdc (diff) | |
download | gitea-90f6aa8cd19e489723ddffc40d6507782c29756c.tar.gz gitea-90f6aa8cd19e489723ddffc40d6507782c29756c.zip |
Add repo mirror and import
Diffstat (limited to 'templates/user/profile.tmpl')
-rw-r--r-- | templates/user/profile.tmpl | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 0cbd348910..255eb71cb2 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -10,7 +10,18 @@ </div> <div class="profile-info"> <ul class="list-group"> - <li class="list-group-item"> + {{if .Owner.Location}} + <li class="list-group-item"><i class="fa fa-thumb-tack"></i>{{.Owner.Location}}</li> + {{end}} + {{if .Owner.Email}} + <li class="list-group-item"><i class="fa fa-envelope"></i><a href="mailto:{{.Owner.Email}}">{{.Owner.Email}}</a></li> + {{end}} + {{if .Owner.Website}} + <li class="list-group-item"><i class="fa fa-link"></i><a target="_blank" href="{{.Owner.Website}}">{{.Owner.Website}}</a></li> + {{end}} + <li class="list-group-item"><i class="fa fa-clock-o"></i>Joined on {{DateFormat .Owner.Created "M d, Y"}}</li> + <hr> + <li class="list-group-item" style="padding-top: 5px;"> <div class="profile-rel"> <div class="col-md-6 followers"> <strong>123</strong> @@ -22,16 +33,7 @@ </div> </div> </li> - {{if .Owner.Location}} - <li class="list-group-item"><i class="fa fa-thumb-tack"></i>{{.Owner.Location}}</li> - {{end}} - {{if .Owner.Email}} - <li class="list-group-item"><i class="fa fa-envelope"></i><a href="mailto:{{.Owner.Email}}">{{.Owner.Email}}</a></li> - {{end}} - {{if .Owner.Website}} - <li class="list-group-item"><i class="fa fa-link"></i><a target="_blank" href="{{.Owner.Website}}">{{.Owner.Website}}</a></li> - {{end}} - <li class="list-group-item"><i class="fa fa-clock-o"></i>Joined on {{DateFormat .Owner.Created "M d, Y"}}</li> + <hr> </ul> </div> </div> |