{% extends 'global/master.tpl' %} {% set profileHidden = profile.checkPermission('SITE', 'DEACTIVATED') or profile.data.password_algo == 'nologin' or (profile.checkPermission('SITE', 'RESTRICTED') and (user.data.user_id != profile.data.user_id and not user.checkPermission('MANAGE', 'USE_MANAGE'))) %} {% set noUserpage = profile.userPage|length < 1 %} {% set profileView = noUserpage and profileView == 'index' ? 'comments' : profileView %} {% block title %}{% if profileHidden %}User not found!{% else %}Profile of {{ profile.data.username }}{% endif %}{% endblock %} {% block content %} {% if profileHidden %}
{{ field.name }} | {% if name == 'youtube' %} {% if field.youtubetype == true %}{{ profile.data.username }}'s Channel{% else %}{{ field.value }}{% endif %} {% else %} {% if field.islink %} {% endif %} {{ field.value }} {% if field.islink %} {% endif %} {% endif %} |