{% load i18n %} {% load static %}
{% comment %} {% endcomment %} {% comment %} {% endcomment %}
{% trans 'Title' %} {% trans 'Date Created' %} {% trans 'Owner' %} {% trans 'Language' %}{% trans 'Size' %}
{ title || " - "} { formatDate(iso_date) } { org_name || " - "} { language }{ file_size_calc(file_size) }
var tag = this; tag.formatDate = function(iso_date) { if (iso_date) { try { return moment(iso_date).format('MMMM YYYY'); } catch { return " - "; } } else { return " - "; } } tag.decodeFT = function(ff) { return tag.parent.decodeFT(ff); } tag.file_size_calc = function(fs) { return tag.parent.file_size_calc(fs); } tag.showResourceProfile = function(e) { tag.parent.showResourceProfile(e); } tag.on('update', function() { // update resources list });