{% if profile_user is defined and profile_relation_info|length > 0 and (profile_relation_info.subject_relation is not null or profile_relation_info.user_relation is not null) %}
{% if profile_relation_info.subject_relation and profile_relation_info.user_relation %}
Mutual Friends
{% elseif profile_relation_info.user_relation %}
You Follow
{% elseif profile_relation_info.subject_relation %}
Follows You
{% endif %}
{% endif %}
{% if profile_user is defined %}
{% if profile_mode is empty %}
{% if profile_is_editing %}
DiscardSettings
{% elseif profile_can_edit %}
Edit Profile
{% endif %}
{% if current_user is defined and current_user.user_id != profile_user.user_id and not profile_is_editing %}
{% if profile_relation_info.user_relation == constant('MSZ_USER_RELATION_FOLLOW') %}
Unfollow
{% else %}
Follow
{% endif %}
{% endif %}
{% else %}
Return
{% endif %}
{% endif %}
{% if stats is defined %}
{% for stat in stats %}
{% if stat.value|default(false) %}
{% set is_date = stat.is_date|default(false) %}
{% set is_url = stat.url is defined %}
{% set active_class = stat.active|default(false) ? ' profile__header__stat--active' : '' %}
{% if is_url %}
{% else %}