{% if instance.file.url %} {% if instance.get_icon_url %}Icon{% endif %} {% if instance.title %}{{ instance.title }}{% else %}{{ instance.get_file_name }}{% endif %} {% if instance.file_exists %}({{ instance.file.size|filesizeformat }}){% else %}(file missing!){% endif %} {% endif %}