summaryrefslogtreecommitdiffstats
path: root/templates/user/profile.tmpl
diff options
context:
space:
mode:
authorExMex <great.mafia2010@gmail.com>2016-01-12 03:09:59 +0100
committerExMex <great.mafia2010@gmail.com>2016-01-12 03:09:59 +0100
commitf610bfa8a2ccaf195fe89866da55879436a202d8 (patch)
tree415e9f5500334b03ca99311cf4f1b0bac568e8db /templates/user/profile.tmpl
parentfc4a4d38d16e47fe2584bd574872929669de42c1 (diff)
downloadgitea-f610bfa8a2ccaf195fe89866da55879436a202d8.tar.gz
gitea-f610bfa8a2ccaf195fe89866da55879436a202d8.zip
Added organization display on profile
Fixed "Follower" Icon too big
Diffstat (limited to 'templates/user/profile.tmpl')
-rw-r--r--templates/user/profile.tmpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index 741d0c125f..324056a10c 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -40,7 +40,7 @@
{{end}}
<li><i class="icon octicon octicon-clock"></i> {{.i18n.Tr "user.join_on"}} {{DateFmtShort .Owner.Created}}</li>
<li>
- <i class="user icon"></i>
+ <i class="icon octicon octicon-person"></i>
<a href="{{.Owner.HomeLink}}/followers">
{{.Owner.NumFollowers}} {{.i18n.Tr "user.followers"}}
</a>
@@ -51,12 +51,17 @@
</li>
{{/*
<li>
- <i class="octicon octicon-star"></i>
+ <i class="icon octicon octicon-star"></i>
<a href="{{.Owner.HomeLink}}/stars">
{{.Owner.NumStars}} {{.i18n.Tr "user.starred"}}
</a>
</li>
*/}}
+ <li>
+ {{range .Orgs}}
+ <img class="ui mini image" src="{{.AvatarLink}}">
+ {{end}}
+ </li>
{{if and .IsSigned (ne .SignedUserName .Owner.Name)}}
<li class="follow">
{{if .SignedUser.IsFollowing .Owner.Id}}