django-swingcms / swingcms / cms / templates / cms / preview_file.html

{% load i18n %}

<div id='preview_file'>

    {% if o.title %}
        <h4>{{ o.title }}</h4><br />
    {% endif %}
    <h5>{% trans 'published' %}:</h5> <div class="date">{{ o.datetime_addition|date:'j F Y' }}</div><br />
    <h5>{% trans 'by' %}:</h5> <i>{{ o.contributor }}</i><br />	
    <h5>{% trans 'size' %}:</h5> <i>{{ o.size|filesizeformat }}</i><br />

    <a href="{{ o.file.url }}">{% trans 'download' %}</a> {% trans 'or' %} 
    <span class='read_more'><a href='/view/file/{{ }}'>{% trans 'read more' %}</a></span><br />

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.