Browse Source

set default avatar

tags/v1.21.12.1
lewis 4 years ago
parent
commit
678d4f0ad4
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