{% macro render_pkgtile(package, show_author) -%}
{{ package.short_desc }}
{% if not package.license.is_foss and not package.media_license.is_foss and package.type != package.type.TXP %}{{ _("Warning: Non-free code and media.") }}
{% elif not package.license.is_foss and package.type != package.type.TXP %}{{ _("Warning: Non-free code.") }}
{% elif not package.media_license.is_foss %}{{ _("Warning: Non-free media.") }}
{% endif %}