Source

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

Full commit
Fabio Michelini 7dc8c13 





Fabio Michelini e18625e 




Fabio Michelini 7dc8c13 
Fabio Michelini e18625e 









Fabio Michelini 7dc8c13 



{% load i18n %}



<div id='preview_file'>

    <div id='obj_header'>
        {% if c.title %}
            <h4>{{ c.title }}</h4>
        {% endif %}
    </div>

    <b>{% trans 'added' %}:</b> <i>{{ c.dt_addition|date:'j F Y' }}</i><br />
    <b>{% trans 'by' %}:</b> <i>{{ c.owner|default:_('unidentified') }}</i><br />
    <b>{% trans 'size' %}:</b> <i>{{ c.size|filesizeformat }}</i><br />
    <br />

    <a href="{{ c.file.url }}">{% trans 'download' %}</a> {% trans 'or' %} 

    <div id='obj_footer'>
        <div class='read_more'><a href='/view/file/{{ c.id }}'>{% trans 'read more' %}</a></div>
    </div>

</div>