{% extends "_layouts/base.html" %} {% load static %} {% load i18n %} {% load cleanview %} {% block head %} {% endblock head %} {% block content %}
{% if journal.custom_css %}{% endif %}

{{ journal.name }}

{% trans "by" %} {% firstof journal.owner.get_full_name journal.owner.username %} · {% trans "Diary" %} {% if dy_stats.first_date %} · {{ dy_stats.first_date|date:"M Y" }}{% endif %}
{{ dy_stats.entry_count|default:"0" }} {% trans "entries" %}
{% if dy_stats.first_date %}
{{ dy_stats.first_date|date:"d M Y" }} {% trans "first" %}
{% endif %} {% if dy_stats.latest_date %}
{{ dy_stats.latest_date|date:"d M Y" }} {% trans "latest" %}
{% endif %}
{% if dy_stats.latest_entry %} ✦ {% trans "Latest Entry" %} {% endif %} {% if journal.description %}
{{ journal.description }}
{% endif %}
{% trans "Calendar" %}
«
{{ calendar.month_date|date:"F" }} {{ calendar.year }}
»
{% if calendar.month != anchor_date.month or calendar.year != anchor_date.year %} « {% trans "back to entry" %} {% endif %}
{% translate "M" context "weekday_initial_mon" %}{% translate "T" context "weekday_initial_tue" %}{% translate "W" context "weekday_initial_wed" %}{% translate "T" context "weekday_initial_thu" %}{% translate "F" context "weekday_initial_fri" %}{% translate "S" context "weekday_initial_sat" %}{% translate "S" context "weekday_initial_sun" %}
{% for week in calendar.weeks %} {% for cell in week %} {% if cell.day == 0 %} {% elif cell.entry %} {{ cell.day }} {% else %} {{ cell.day }} {% endif %} {% endfor %} {% endfor %}
{% if available_moods %}
{% trans "Mood" %}
{% trans "all moods" %} {% for m in available_moods %}{{ m.label|lower }} {{ m.count }}{% endfor %}
{% endif %} {% if dy_tags %}
{% trans "Tags" %}
{% for tag in dy_tags %}{% if not forloop.first %} {% endif %}#{{ tag.name }}{% endfor %}
{% endif %} {% if owner_profile %}
{% if owner_profile.avatar_url %}{% endif %}
{% firstof journal.owner.get_full_name journal.owner.username %} {% if owner_profile.bio %}
{{ owner_profile.bio }}
{% endif %}
{% endif %}
{% with display_entry=selected_entry|default:dy_anchor_entry %} {% if display_entry %}
{% if display_entry.mood %}{{ display_entry.get_mood_display|lower }}{% endif %}

{{ display_entry.title }}

{{ display_entry.content|cleanview }}
{% if display_entry.tags.all %} {% endif %}
{% if display_entry.word_count %}{{ display_entry.word_count }} {% trans "WORDS" %}{% endif %}
{% else %}
{% trans "No entries yet." %}
{% endif %} {% endwith %}
{% endblock content %}