only show "upload profile background" if user on desktop or uses transparent theme to prevent confusion
parent
ab7144d94a
commit
99c12a74ad
|
@ -414,7 +414,7 @@
|
|||
<button type="button" class="btn btn-secondary" onclick="toggle()" {% if v.id == u.id %}style="margin-bottom:0!important;padding:0.3rem 0.75rem!important"{% endif %}>Toggle Anthem</button>
|
||||
{% endif %}
|
||||
|
||||
{% if v and v.id == u.id %}
|
||||
{% if v and v.id == u.id and (v.profile_background or v.theme == 'transparent') %}
|
||||
<div>
|
||||
<form class="mt-3" id="upload-profile-background-mobile" action="/settings/profile_background" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="formkey" value="{{v|formkey}}">
|
||||
|
|
Loading…
Reference in New Issue