- {{template "shared/user/org_profile_big_avatar" .}} +
+ {{ctx.AvatarUtils.Avatar .Org 140 "org-avatar"}} +
+
+ {{.Org.DisplayName}} + + {{if .Org.Visibility.IsLimited}}{{ctx.Locale.Tr "org.settings.visibility.limited_shortname"}}{{end}} + {{if .Org.Visibility.IsPrivate}}{{ctx.Locale.Tr "org.settings.visibility.private_shortname"}}{{end}} + +
+ {{if $.RenderedDescription}}
{{$.RenderedDescription|Str2html}}
{{end}} +
+ {{if .Org.Location}}
{{svg "octicon-location"}} {{.Org.Location}}
{{end}} + {{if .Org.Website}}
{{svg "octicon-link"}} {{.Org.Website}}
{{end}} + {{if $.IsSigned}} + {{if .Org.Email}}
{{svg "octicon-mail"}} {{.Org.Email}}
{{end}} + {{end}} +
+
+ +
{{template "org/menu" .}} diff --git a/templates/shared/user/follow_unfollow.tmpl b/templates/shared/user/follow_unfollow.tmpl new file mode 100644 index 0000000000000..e21f1c17640e4 --- /dev/null +++ b/templates/shared/user/follow_unfollow.tmpl @@ -0,0 +1,9 @@ +{{if .IsSigned}} + +{{end}} diff --git a/templates/shared/user/org_profile_big_avatar.tmpl b/templates/shared/user/org_profile_big_avatar.tmpl deleted file mode 100644 index 3a53e1aa1a899..0000000000000 --- a/templates/shared/user/org_profile_big_avatar.tmpl +++ /dev/null @@ -1,36 +0,0 @@ -
- {{ctx.AvatarUtils.Avatar .ContextUser 140 "org-avatar"}} -
-
- {{.ContextUser.DisplayName}} - - {{if .ContextUser.Visibility.IsLimited}}{{ctx.Locale.Tr "org.settings.visibility.limited_shortname"}}{{end}} - {{if .ContextUser.Visibility.IsPrivate}}{{ctx.Locale.Tr "org.settings.visibility.private_shortname"}}{{end}} - -
- {{if $.RenderedDescription}}
{{$.RenderedDescription|Str2html}}
{{end}} -
- {{if .ContextUser.Location}}
{{svg "octicon-location"}} {{.ContextUser.Location}}
{{end}} - {{if .ContextUser.Website}}
{{svg "octicon-link"}} {{.ContextUser.Website}}
{{end}} - {{if $.IsSigned}} - {{if .ContextUser.Email}}
{{svg "octicon-mail"}} {{.ContextUser.Email}}
{{end}} - {{end}} -
-
- -