Plume/templates/users/dashboard.tera

26 lines
744 B
Plaintext
Raw Normal View History

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