{% macro render_pkgtile(package, show_author) -%} {% set meta = package.get_translated(load_desc=False) %}
{{ meta.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 %}