diff options
author | Sandro Santilli <strk@kbt.io> | 2017-03-20 09:31:08 +0100 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2017-03-20 09:31:08 +0100 |
commit | 9182a35f18b6d5cd981486852028e670984145c3 (patch) | |
tree | cab69a27330df5a095de95017e8b40bf13598889 /templates/user/profile.tmpl | |
parent | e1586898b2f0905b6f59383c01a3aed6b39de93a (diff) | |
download | gitea-9182a35f18b6d5cd981486852028e670984145c3.tar.gz gitea-9182a35f18b6d5cd981486852028e670984145c3.zip |
Show user OpenID URIs in their profile (#1314)
Diffstat (limited to 'templates/user/profile.tmpl')
-rw-r--r-- | templates/user/profile.tmpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 08627616b5..a055a99a85 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -34,6 +34,14 @@ <a target="_blank" rel="noopener" href="{{.Owner.Website}}">{{.Owner.Website}}</a> </li> {{end}} + {{range .OpenIDs}} + {{if .Show}} + <li> + <i class="fa fa-openid"></i> + <a target="_blank" rel="noopener" href="{{.URI}}">{{.URI}}</a> + </li> + {{end}} + {{end}} <li><i class="octicon octicon-clock"></i> {{.i18n.Tr "user.join_on"}} {{DateFmtShort .Owner.Created}}</li> <li> <i class="octicon octicon-person"></i> |