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"'
|
' <input type="file" id="avatar" name="avatar"'
|
||||||
editProfileForm += ' accept="' + imageFormats + '">\n'
|
editProfileForm += ' accept="' + imageFormats + '">\n'
|
||||||
|
|
||||||
|
if nickname == adminNickname:
|
||||||
editProfileForm += \
|
editProfileForm += \
|
||||||
' <br><label class="labels">' + \
|
' <br><label class="labels">' + \
|
||||||
translate['Background image'] + '</label>\n'
|
translate['Background image'] + '</label>\n'
|
||||||
|
|
Loading…
Reference in New Issue