forked from indymedia/epicyon
Only show profile background option to the admin
parent
642fd31c7d
commit
7b63f06d86
|
@ -1205,6 +1205,7 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
|
|||
' <input type="file" id="avatar" name="avatar"'
|
||||
editProfileForm += ' accept="' + imageFormats + '">\n'
|
||||
|
||||
if nickname == adminNickname:
|
||||
editProfileForm += \
|
||||
' <br><label class="labels">' + \
|
||||
translate['Background image'] + '</label>\n'
|
||||
|
|
Loading…
Reference in New Issue