diff --git a/files/templates/userpage.html b/files/templates/userpage.html index d1d23b99ed..42ea56219d 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -41,52 +41,54 @@ {% include '/dropdowns/ProfileAdminDropdown.html' %} {% endif %} -
  • - {% include '/dropdowns/ProfileDropdown.html' %} -
  • - {% if v.id == u.id %} -
  • - - - Edit profile - -
  • - {% endif %} - {% if u.song and v and v.mute and not u.unmutable %} -
  • - -
  • -
  • - -
  • - {% endif %} - {% if v.id != u.id %} -
  • - -
  • - {% if u.id != 995 %} -
  • - -
  • - {% endif %} -
  • - -
  • + {% if not u.is_suspended %} +
  • + {% include '/dropdowns/ProfileDropdown.html' %} +
  • + {% if v.id == u.id %} +
  • + + + Edit profile + +
  • + {% endif %} + {% if u.song and v and v.mute and not u.unmutable %} +
  • + +
  • +
  • + +
  • + {% endif %} + {% if v.id != u.id %} +
  • + +
  • + {% if u.id != 995 %} +
  • + +
  • + {% endif %} +
  • + +
  • + {% endif %} {% endif %}