2014-03-02 19:17:55 +05:30
|
|
|
{{template "base/head" .}}
|
|
|
|
{{template "base/navbar" .}}
|
|
|
|
<div id="gogs-body" class="container">
|
|
|
|
<div id="gogs-user-profile" class="col-md-3">
|
|
|
|
<div class="profile-avatar text-center">
|
2014-03-15 12:58:06 +05:30
|
|
|
<a href="{{.Owner.HomeLink}}" class="center-block" data-toggle="tooltip" data-placement="bottom" title="Change Avatar">
|
|
|
|
<img id="gogs-user-avatar" src="{{.Owner.AvatarLink}}?s=200" alt="user-avatar" title="username"/>
|
2014-03-02 19:17:55 +05:30
|
|
|
</a>
|
2014-03-15 12:58:06 +05:30
|
|
|
<span id="gogs-user-name" class="center-block">{{.Owner.Name}}</span>
|
2014-03-02 19:17:55 +05:30
|
|
|
</div>
|
|
|
|
<div class="profile-info">
|
|
|
|
<ul class="list-group">
|
2014-03-15 08:05:04 +05:30
|
|
|
{{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}}
|
2014-03-15 12:58:06 +05:30
|
|
|
<li class="list-group-item"><i class="fa fa-clock-o"></i>Joined on {{DateFormat .Owner.Created "M d, Y"}}</li>
|
2014-03-02 19:17:55 +05:30
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="gogs-user-activity" class="col-md-9">
|
2014-03-13 11:38:49 +05:30
|
|
|
<ul class="nav nav-tabs" id="gogs-user-act-tabs" data-init="tabs">
|
2014-03-15 12:58:06 +05:30
|
|
|
<li{{if not .TabName}} class="active"{{end}}><a href="{{.Owner.HomeLink}}"><i class="fa fa-gittip"></i>Repositories</a></li>
|
|
|
|
<li{{if eq .TabName "activity"}} class="active"{{end}}><a href="{{.Owner.HomeLink}}?tab=activity"><i class="fa fa-rss"></i>Public Activity</a></li>
|
2014-03-02 19:17:55 +05:30
|
|
|
</ul>
|
|
|
|
<div class="tab-content">
|
2014-03-15 12:58:06 +05:30
|
|
|
{{if eq .TabName "activity"}}
|
|
|
|
<div class="tab-pane active">
|
|
|
|
<ul class="list-unstyled activity-list">
|
|
|
|
{{range .Feeds}}
|
|
|
|
<li>
|
|
|
|
<i class="icon fa fa-{{ActionIcon .OpType}}"></i>
|
|
|
|
<div class="info"><span class="meta">{{TimeSince .Created}}</span><br>{{ActionDesc . | str2html}}</div>
|
|
|
|
<span class="clearfix"></span>
|
|
|
|
</li>
|
|
|
|
{{else}}
|
2014-03-15 15:00:59 +05:30
|
|
|
<li>Not any public activity yet.</li>
|
2014-03-15 12:58:06 +05:30
|
|
|
{{end}}
|
|
|
|
</ul>
|
2014-03-15 10:20:51 +05:30
|
|
|
</div>
|
2014-03-15 12:58:06 +05:30
|
|
|
{{else}}
|
2014-03-15 15:00:59 +05:30
|
|
|
<div class="tab-pane active">repo</div>
|
2014-03-15 12:58:06 +05:30
|
|
|
{{end}}
|
2014-03-02 19:17:55 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|