{% extends "master.html" %} {% load ui %} {% load humanize %} {% load viewers %} {% load static %} {% block javascript %} {{ block.super }} {% endblock %} {% block raw-content %}
{% endblock %} {% block sidebar %} {{ block.super }} {% if presentations %}Title | {% if manage %} {% if perms.presentation.publish_presentations %}Hidden | {% endif %}Created | Modified | {% endif %}Presenter | Tags | Items | ||
---|---|---|---|---|---|---|---|---|
{% if manage %} {{ presentation.title }} {% else %} {{ presentation.title }} {% endif %} | {% if manage %} {% if perms.presentation.publish_presentations %}{{ presentation.hidden|yesno:"hidden,-" }} | {% endif %}{{ presentation.created|naturalday }} | {{ presentation.modified|naturalday }} | {% endif %}{% if presentation.owner == request.user %}-{% else %}{% if presentation.owner.last_name %}{{ presentation.owner.last_name }}, {{ presentation.owner.first_name }}{% else %}{{ presentation.owner.username }}{% endif %}{% endif %} | {% for ptag in ptags %} {% tag ptag presentation "True" %} {% endfor %} {% for otag in otags %} {% tag otag presentation 0 'secondary' %} {% endfor %} {% if not ptags and not otags %} {% endif %} |
{{ presentation.visible_item_count }}
{% if manage %}
{% with presentation.hidden_item_count as h %}{% if h %} (+{{h}}){% endif %}{% endwith %}
{% endif %}
{% if presentation.password %}
{% if presentation.unlocked %}
|
{% if manage %} Edit {% endif %} {% if not presentation.password or presentation.unlocked or presentation.owner == request.user %} {% list_viewers presentation request.get_full_path ' ' %} {% else %} Unlock {% endif %} |