- {% if entry.author %} by {{ entry.author }}{% endif %} in {{ macros.feed_title(entry.feed) }}
- {%- set published = entry.published or entry.updated_not_none -%} {{ published | humanize_naturaltime }} {% set next = url_for('.entry', **request.args) %} {% set context = {'feed-url': feed.url, 'entry-id': entry.id} %} {% if entry.read %} {{ macros.simple_button('.form_api', 'mark-as-unread', 'unread', leave_disabled=true, next=next, context=context, title=entry.read_modified or "not modified") }} {% else %} {{ macros.simple_button('.form_api', 'mark-as-read', 'read', leave_disabled=true, next=next, context=context, title=entry.read_modified or "not modified") }} {% endif %} {% if entry.important %} {{ macros.simple_button('.form_api', 'mark-as-unimportant', 'unimportant', leave_disabled=true, next=next, context=context, title=entry.important_modified or "not modified") }} {% else %} {{ macros.simple_button('.form_api', 'mark-as-important', 'important', leave_disabled=true, next=next, context=context, title=entry.important_modified or "not modified") }} {% endif %} {% if not (entry.read and not entry.important and entry.important_modified) %} {{ macros.simple_button('.form_api', 'mark-as-dont-care', "don't care", leave_disabled=true, next=next, context=context) }} {% endif %} {% if entry.added_by == 'user' %} {{ macros.confirm_button('.form_api', 'delete-entry', 'delete', leave_disabled=true, next=url_for('.entries', **request.args), context=context) }} {% endif %} {% if content %} {% set minutes = read_time(content).minutes %} {% if minutes > 1 %}
- {{ minutes | humanize_apnumber }} minute read {% endif %} {% endif %} {% for message in get_flashed_messages_by_prefix( ('mark-as-read', feed.url, entry.id), ('mark-as-unread', feed.url, entry.id), ('mark-as-important', feed.url, entry.id), ('mark-as-unimportant', feed.url, entry.id), ('mark-as-dont-care', feed.url, entry.id), ('delete-entry', feed.url, entry.id), ) %}
- {{ message }} {% endfor %}
{{ content }}{%- else -%} {{ content | safe }} {%- endif %}
no content
{% endif %} {{ macros.entry_enclosures(entry) }}