Update profbackground.html

This commit is contained in:
Alicia 2019-02-23 14:47:46 +00:00
parent b175fc3e9c
commit cb52136fe2
1 changed files with 1 additions and 2 deletions

View File

@ -26,8 +26,7 @@ AdditionalJS=https://cdnjs.cloudflare.com/ajax/libs/jquery-minicolors/2.2.4/jque
<div class="ui compact segment" id="image-background" style="margin: 0 auto; max-width: 400px; max-height: 700px;" data-type="1"{{ if ne $type 1 }} hidden{{ end }}>
{{ if and (eq $type 1) $value }}
<img src="/static/profbackgrounds/{{ $value }}">
{{ else }}
{{ if and (eq $type 3) $value }}
{{ else if and (eq $type 3) $value }}
<img src="/static/profbackgrounds/{{ $value }}">
{{ else }}
No image selected