mirror of https://github.com/gogits/gogs.git
Browse Source
* Add ability to explore organizations * Use right icon for org explore linkspull/3225/head
Daniel Oaks
8 years ago
committed by
无闻
6 changed files with 940 additions and 1104 deletions
File diff suppressed because one or more lines are too long
@ -0,0 +1,35 @@
|
||||
{{template "base/head" .}} |
||||
<div class="explore users"> |
||||
<div class="ui container"> |
||||
<div class="ui grid"> |
||||
{{template "explore/navbar" .}} |
||||
<div class="twelve wide column content"> |
||||
{{template "explore/search" .}} |
||||
|
||||
<div class="ui user list"> |
||||
{{range .Users}} |
||||
<div class="item"> |
||||
<img class="ui avatar image" src="{{.RelAvatarLink}}"> |
||||
<div class="content"> |
||||
<span class="header"><a href="{{.HomeLink}}">{{.Name}}</a> {{.FullName}}</span> |
||||
<div class="description"> |
||||
{{if .Location}} |
||||
<i class="octicon octicon-location"></i> {{.Location}} |
||||
{{end}} |
||||
{{if and .Website}} |
||||
<i class="octicon octicon-link"></i> |
||||
<a href="{{.Website}}" rel="nofollow">{{.Website}}</a> |
||||
{{end}} |
||||
<i class="octicon octicon-clock"></i> {{$.i18n.Tr "user.join_on"}} {{DateFmtShort .Created}} |
||||
</div> |
||||
</div> |
||||
</div> |
||||
{{end}} |
||||
</div> |
||||
|
||||
{{template "explore/page" .}} |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
{{template "base/footer" .}} |
Loading…
Reference in new issue