diff options
author | Daniel Oaks <daniel@danieloaks.net> | 2016-09-01 23:08:05 +1000 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2016-09-01 09:08:05 -0400 |
commit | b3d9ca4ccd7c4353db0971b61bbcbffd126cb61d (patch) | |
tree | 2187f2c6631385bc0247af11e26648f5717b8acf /templates/explore/organizations.tmpl | |
parent | 4efaf8e882dad4bffbb84104aec6df25d15b4f87 (diff) | |
download | gitea-b3d9ca4ccd7c4353db0971b61bbcbffd126cb61d.tar.gz gitea-b3d9ca4ccd7c4353db0971b61bbcbffd126cb61d.zip |
Add the ability to explore organizations (#3573)
* Add ability to explore organizations
* Use right icon for org explore links
Diffstat (limited to 'templates/explore/organizations.tmpl')
-rw-r--r-- | templates/explore/organizations.tmpl | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/explore/organizations.tmpl b/templates/explore/organizations.tmpl new file mode 100644 index 0000000000..6953414e85 --- /dev/null +++ b/templates/explore/organizations.tmpl @@ -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" .}} |