forked from retoor/devplacepy
Zo doen wijdat in oost
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<link rel="stylesheet" href="{{ static_url('/static/css/gists.css') }}">
|
||||
<link rel="stylesheet" href="{{ static_url('/static/css/awards.css') }}">
|
||||
<link rel="stylesheet" href="{{ static_url('/static/css/moderation.css') }}">
|
||||
{% if current_tab == 'donate' %}<link rel="stylesheet" href="{{ static_url('/static/css/nodes.css') }}">{% endif %}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div class="profile-layout">
|
||||
@@ -562,6 +563,9 @@
|
||||
<a href="/profile/{{ profile_user['username'] }}?tab=notifications#profile-tabs" class="profile-tab {% if current_tab == 'notifications' %}active{% endif %}" data-menu-icon="🔔" data-menu-label="Notifications"><span class="icon">🔔</span> Notifications</a>
|
||||
<a href="/profile/{{ profile_user['username'] }}?tab=privacy#profile-tabs" class="profile-tab {% if current_tab == 'privacy' %}active{% endif %}" data-menu-icon="🔒" data-menu-label="Privacy"><span class="icon">🔒</span> Privacy</a>
|
||||
{% endif %}
|
||||
{% if is_owner %}
|
||||
<a href="/profile/{{ profile_user['username'] }}?tab=donate#profile-tabs" class="profile-tab {% if current_tab == 'donate' %}active{% endif %}" data-menu-icon="🤝" data-menu-label="Donate"><span class="icon">🤝</span> Donate</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<button type="button" class="profile-tab overflow-tabs-more" aria-haspopup="menu" aria-label="More tabs" hidden><span class="icon">⋯</span> More</button>
|
||||
</div>
|
||||
@@ -731,6 +735,10 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% elif current_tab == 'donate' %}
|
||||
{% if is_owner %}
|
||||
{% include "_node_donation.html" %}
|
||||
{% endif %}
|
||||
{% elif current_tab == 'notifications' %}
|
||||
{% if is_owner or viewer_is_admin %}
|
||||
<div class="notif-prefs profile-panel" data-notif-prefs data-username="{{ profile_user['username'] }}">
|
||||
|
||||
Reference in New Issue
Block a user