{% extends "master.html" %} {% load ui %} {% load humanize %} {% load viewers %} {% load staticfiles %} {% block javascript %} {{ block.super }} {% endblock %} {% block raw-content %}
{% csrf_token %} {{ block.super }}
{% endblock %} {% block sidebar %} {{ block.super }} {% if presentations %}
Keywords
{% endif %} {% var as refine %} { "url": "{{ request.path }}?sort={{ sortby }}&{% if active_presenter %}presenter={{ active_presenter|urlencode }}&{% endif %}kw={{ keywords|urlencode }}&{% for t in active_tags %}t={{ t|urlencode }}&{% endfor %}" } {% endvar %} {% if active_presenter %}
RemovePresenter
{% if active_presenter.last_name %}{{ active_presenter.last_name }}, {{ active_presenter.first_name }}{% else %}{{ active_presenter.username }}{% endif %}
{% endif %} {% if request.user.is_authenticated and untagged %}
RemoveUntagged
Showing only presentations you have not tagged
{% endif %} {% for tag in active_tags %}
RemoveTag
{{ tag }}
{% endfor %} {% if presenters %}
Presenters
{% if request.user %} {% endif %} {% for presenter in presenters %} {% endfor %}
{% endif %} {% if tags %}
Tags
{% for tag in tags %}
{{ tag }} {% if tag.count %} {{ tag.count|intcomma }}{% endif %}
{% endfor %}
{% endif %} {% if usertags %}
Your Tags
{% for tag in usertags %}
{{ tag }} {% if tag.count %} {{ tag.count|intcomma }}{% endif %}
{% endfor %}
{% endif %} {% if request.user.is_authenticated and not untagged %}
Untagged
Show only presentations you have not tagged
{% endif %}
Reset Search
{% endblock %} {% block content-top %} {{ block.super }} {% var as refine %} { "sorturl": "{{ request.path }}?{% if active_presenter %}presenter={{ active_presenter|urlencode }}&{% endif %}kw={{ keywords|urlencode }}&{% for t in active_tags %}t={{ t|urlencode }}&{% endfor %}sortby=" } {% endvar %}

{{ manage|yesno:"Manage,Browse" }} Presentations


{% endblock %} {% block content %} {% if presentations %} {% if manage %} {% if perms.presentation.publish_presentations %} {% endif %} {% endif %} {% for presentation in presentations %} {% owned_tags_for_object presentation for request.user as ptags %} {% ifnotequal request.user.id presentation.owner.id %} {% owned_tags_for_object presentation for presentation.owner as otags %} {% endifnotequal %} {% if manage %} {% if perms.presentation.publish_presentations %} {% endif %} {% endif %} {% endfor %}
TitleHiddenCreated ModifiedPresenter Tags Items
{% if manage %} {{ presentation.title }} {% else %} {{ presentation.title }} {% endif %} {{ presentation.hidden|yesno:"hidden,-" }}{{ presentation.created|naturalday }} {{ presentation.modified|naturalday }}{% 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 %} {% else %} {% endif %} {% endif %} {% 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 %}
{% else %} No presentations available. {% endif %} {% endblock %}