Browse Source

Merge pull request '云脑2默认头像' (#551) from fix-530 into V20211018

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

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

@@ -323,7 +323,6 @@
{{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">


+ 4
- 0
templates/repo/modelarts/index.tmpl View File

@@ -292,7 +292,11 @@
</div>

<div class="one wide column">
{{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}}
</div>

<div class="seven wide column text right">


Loading…
Cancel
Save