{% extends 'app/base_dashboard.html' %} {% load static %} {% block title %} Materi Diunggah | Digipus {% endblock %} {% block stylesheets %} {% endblock %} {% block content %}
profile-picture
Materi oleh  {{ user.name }}
{{ posts|length }} Materi
{% if posts %} {% for _, post in posts.items %}
{% if post.data.cover %} profile-picture {% else %}
{% endif %}
{{ post.data.title }} {{ post.data.date_created }}
{{ post.data.like_count }} Like
{{ post.comments|length }} Komentar
{% for comment in post.comments %}
profile-picture
{{ comment.user.name }} - {{ comment.timestamp }} {{ comment.comment }}
{% endfor %}
{% endfor %} {% else %}
Anda belum memiliki materi yang telah diunggah / disetujui
{% endif %} {% endblock %}