mirror of https://gitlab.com/bashrc2/epicyon
Don't chow image changing options on news instances
parent
100c9c557f
commit
c631c49d98
|
@ -1255,6 +1255,7 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
|
|||
' <input type="file" id="avatar" name="avatar"'
|
||||
editProfileForm += ' accept="' + imageFormats + '">\n'
|
||||
|
||||
if not newsInstance:
|
||||
editProfileForm += \
|
||||
' <br><label class="labels">' + \
|
||||
translate['Background image'] + '</label>\n'
|
||||
|
|
Loading…
Reference in New Issue