{% if change.method == "remove_one" %} {{ _('Removed tag {tag_link} from {pkg_link}').format( tag_link = '{tag}'.format( tag_url = h.url_for('dataset.search') + "?tags=" + change.tag, tag = change.tag )|safe, pkg_link = h.nav_link(change.title, named_route='dataset.read', id=change.pkg_id), ) }} {% elif change.method == "remove_multiple" %} {{ _('Removed the following tags from {pkg_link}').format( pkg_link = h.nav_link(change.title, named_route='dataset.read', id=change.pkg_id), )|safe }}