{% comment %} Copyright 2012 - Participatory Culture Foundation This file is part of Miro Community. Miro Community is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Miro Community is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with Miro Community. If not, see . {% endcomment %}{% spaceless %} {% with authors=instance.authors.all %} {% if authors %} by {% for user in authors %}{% if user.first_name %}{{ user.first_name }} {{ user.last_name }}{% else %}{{ user.username }}{% endif %}{% if not forloop.last %}, {% endif %}{% endfor %} {% else %} {% if instance.feed %} by {{ instance.feed.name }} {% else %} {% if instance.video_service_user %} by {{ instance.video_service_user }} {% endif %} {% endif %} {% endif %} {% if rendered_within_get_display_content %} Edit {% if not authors and not instance.feed and not instance.video_service_user %}Attribution{% endif %} {% endif %} {% endwith %} {% endspaceless %}