Browse Source

Merge pull request '设置已注销头像' (#548) from fix-530 into V20211018

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/548
tags/v1.21.12.1
lewis 4 years ago
parent
commit
d2e35c6d20
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      templates/repo/cloudbrain/index.tmpl

+ 6
- 1
templates/repo/cloudbrain/index.tmpl View File

@@ -318,7 +318,12 @@
</div>

<div class="one wide column">
<a href="{{AppSubUrl}}/{{.User.Name}}" title="{{.User.Name}}"><img class="ui avatar image" src="{{.User.RelAvatarLink}}"></a>
{{if .User.Name}}
<a href="{{AppSubUrl}}/{{.User.Name}}" title="{{.User.Name}}"><img class="ui avatar image" src="{{.User.RelAvatarLink}}"></a>
{{else}}
<a title="Ghost"><img class="ui avatar image" src="{{AppSubUrl}}/user/avatar/Ghost/-1"></a>
{{end}}
<!--<a href="{{AppSubUrl}}/{{.User.Name}}" title="{{.User.Name}}"><img class="ui avatar image" src="{{.User.RelAvatarLink}}"></a>-->
</div>
<div class="seven wide column text right">
<div class="ui compact buttons">


Loading…
Cancel
Save