2021-02-28 12:41:10 +01:00
|
|
|
|
{% load utils %}
|
2021-02-27 21:07:48 +01:00
|
|
|
|
{% load i18n %}
|
|
|
|
|
{% load static %}
|
|
|
|
|
<!doctype html>
|
|
|
|
|
<html lang="en">
|
2024-01-13 20:07:36 +00:00
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
<meta name="description" content="">
|
|
|
|
|
<title>{% block head_title %}{% endblock %} – {{ site.name }}</title>
|
|
|
|
|
<link rel="stylesheet" href="{% static "fonts/inter.css" %}">
|
|
|
|
|
<link rel="stylesheet" href="{% static "css/style.css" %}">
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<header>
|
|
|
|
|
<h1> data.coop membersystem </h1>
|
|
|
|
|
<a class="logout" href="{% url "account_logout" %}">Log out</a>
|
|
|
|
|
</header>
|
|
|
|
|
<main>
|
|
|
|
|
<aside>
|
|
|
|
|
<div>
|
|
|
|
|
<figure></figure>
|
|
|
|
|
<h2>{{ user }}</h2>
|
|
|
|
|
|
|
|
|
|
{% if current_membership %}
|
|
|
|
|
<dl>
|
|
|
|
|
<dt>Membership</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
Active
|
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt>Period</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
Until {{ current_period.upper }} <span class="time_remaining">({{ current_period.upper|timeuntil }})</span>
|
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt>Membership type</dt>
|
|
|
|
|
<dd>Normal member</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
{% else %}
|
|
|
|
|
Your membership status will be displayed here in the future.
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
</aside>
|
|
|
|
|
<nav>
|
|
|
|
|
<ol>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/" class="{% active_path "index" "current" %}">
|
|
|
|
|
Dashboard
|
2021-02-27 21:07:48 +01:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2021-02-28 12:41:10 +01:00
|
|
|
|
|
2024-01-13 20:07:36 +00:00
|
|
|
|
{% comment %}
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/services" class="{% active_path "services" "current" %}">
|
|
|
|
|
Services
|
2021-02-27 21:07:48 +01:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2024-01-13 20:07:36 +00:00
|
|
|
|
{% endcomment %}
|
2021-02-28 12:41:10 +01:00
|
|
|
|
|
2024-01-13 20:07:36 +00:00
|
|
|
|
<li>
|
|
|
|
|
<a href="{% url "account_email" %}" class="{% active_path "account_email" "current" %}">
|
|
|
|
|
Email
|
2021-02-28 12:41:10 +01:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
|
2024-01-13 20:07:36 +00:00
|
|
|
|
{% if perms.membership.administrate_memberships %}
|
|
|
|
|
<li>
|
2024-01-14 12:27:36 +01:00
|
|
|
|
<a href="{% url "admin-members:list" %}" class="{% active_path "admin-members:list" "current" %}">
|
2024-01-13 20:07:36 +00:00
|
|
|
|
Admin
|
2021-02-27 21:07:48 +01:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2024-01-13 20:07:36 +00:00
|
|
|
|
{% endif %}
|
|
|
|
|
</ol>
|
|
|
|
|
</nav>
|
|
|
|
|
<article>
|
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
|
</article>
|
2021-02-27 21:07:48 +01:00
|
|
|
|
</main>
|
2024-01-13 20:07:36 +00:00
|
|
|
|
<footer>
|
|
|
|
|
data.coop membersystem version 0.0.1
|
|
|
|
|
</footer>
|
|
|
|
|
</body>
|
2021-02-27 21:07:48 +01:00
|
|
|
|
</html>
|