{% extends "cosinnus_etherpad/base.html" %} {% load i18n static cosinnus_tags widget_tweaks %} {% block extrahead %} {{ block.super }} {% endblock extrahead %} {% block page_title %} {% trans "Pads" %} {{ block.super }} {% endblock page_title %} {% block breadcrumb %} {{ block.super }} {% if current_folder and current_folder.path != '/' %}
  • {{ current_folder.title }}
  • {% endif %} {% endblock %} {% block leftnav %} {% include "cosinnus/leftnav_hierarchic_listview.html" %} {% endblock leftnav %} {% block content %}
    {% include 'cosinnus/common/filter_controls.html' %} {% if user|can_create_objects_in:group %} {% with obj_form=form.forms.obj %}
    {% csrf_token %} {{ obj_form.non_field_errors }}
    • {{ obj_form.title.errors }} {% if SETTINGS.COSINNUS_ETHERPAD_ENABLE_ETHERCALC %} {% captureas placeholder %}{% trans "Enter the title for a new Document or Table." %}{% endcaptureas %} {% else %} {% captureas placeholder %}{% trans "Enter the title for a new Document." %}{% endcaptureas %} {% endif %} {% render_field obj_form.title class+="form-control next-button-is-for-sending" placeholder=placeholder id="etherpadCreateInput" %}
    {% endwith %} {% endif %} {% for object in objects %}
    • {% if user|can_create_objects_in:group %} {% endif %}
      {% with creator=object.creator %} {% trans "Created By" %} {{ creator|full_name }} {% if object.last_accessed and object.last_accessed|date:'Y'|intify > 2000 %}    {% endif %} {% endwith %} {{ object.title }}
    {% include 'cosinnus/media_tags_readonly.html' %} {% if user|has_read_access:object or object.media_tag.visibility == 2 %} {% endif %} {% if user|has_write_access:object %} {% endif %} {% if user|has_write_access:object %} {% captureas modal_id %}deleteModal_{{object.slug}}{% endcaptureas %} {% endif %} {% include 'cosinnus/feedback/report_button_btn.html' with object=object %}
    {% if user|has_write_access:object %} {% captureas label %}{% blocktrans with title=object.title %}Do you really want to delete etherpad „{{ title }}“?{% endblocktrans %}{% endcaptureas %} {% captureas title %}{% trans "Delete Etherpad" %}{% endcaptureas %} {% captureas action %}{% group_url 'cosinnus:etherpad:pad-delete' group=group slug=object.slug %}{% endcaptureas %} {% include "cosinnus/modal_box.html" with id=modal_id label=label title=title form_action=action %} {% endif %} {% empty %} {% include 'cosinnus/common/empty_button.html' with message="No etherpads have been created yet." %} {% endfor %}
    {% include 'cosinnus/hierarchy/move_element_modal.html' %} {% endblock content %}