Plume/templates/users/dashboard.tera

26 lines
744 B
Plaintext
Raw Normal View History

2018-06-10 19:55:08 +02:00
{% extends "base" %}
{% import "macros" as macros %}
{% block title %}
2018-06-17 17:26:15 +02:00
{{ "Dashboard" | _ }}
2018-06-10 19:55:08 +02:00
{% endblock title %}
{% block content %}
2018-06-17 17:26:15 +02:00
<h1>{{ "Your Dashboard" | _ }}</h1>
2018-06-10 19:55:08 +02:00
<section>
2018-06-17 17:26:15 +02:00
<h2>{{ "Your Blogs" | _ }}</h2>
2018-06-10 19:55:08 +02:00
{% if blogs | length < 1 %}
2018-06-17 17:26:15 +02:00
<p>{{ "You don't have any blog yet. Create your own, or ask to join one." | _ }}</p>
2018-06-10 19:55:08 +02:00
{% endif %}
<a class="button" href="/blogs/new">{{ "Start a new blog" | _ }}</a>
2018-06-10 19:55:08 +02:00
<div class="list">
{% for blog in blogs %}
<div class="card">
<h3><a href="/~/{{ blog.actor_id }}/">{{ blog.title }}</a></h3>
</div>
{% endfor %}
</div>
</section>
{% endblock content %}