{% extends "base_template.html" %} {% from "courses/admin/_form.html" import flashes, state_badge with context %} {% block title %}{{ _('Files') }}{% endblock %} {% block content %}
{{ _('Everything attached anywhere in the wiki. A file is downloadable exactly when its page is readable.') }}
| {{ _('File') }} | {{ _('Page') }} | {{ _('Course') }} | {{ _('Readable') }} | {{ _('Actions') }} |
|---|---|---|---|---|
| {{ attachment.name or _('Attachment') }} {% if attachment.kind == 'inline' %} {{ _('in the text') }} {% endif %} | {{ attachment.page.name }} | {{ attachment.page.course.name }} | {# The page's state, because that is what decides whether this file answers or 404s. #}{{ state_badge(attachment.page) }} | {{ _('Open') }} |
| {% if course_id or kind %} {{ _('No file matches that filter.') }} {% else %} {{ _('Nothing has been attached yet. Files are uploaded from a page.') }} {% endif %} | ||||