Changeset View
Changeset View
Standalone View
Standalone View
films/templates/films/components/admin/production_log_manage.html
| {% if user.is_staff and user_can_edit_production_log %} | {% if user.is_staff and user_can_edit_production_log %} | ||||
| <div> | <div> | ||||
| <a href="{% url 'admin:films_productionlog_add' %}?film={{ film.id }}" class="btn btn-sm btn-secondary">Add Production Log</a> | <a href="{% url 'admin:films_productionlog_add' %}?film={{ film.id }}" class="btn btn-sm btn-secondary">Add Production Log</a> | ||||
| <a href="{% url 'admin:films_productionlog_changelist' %}?film__id__exact={{ film.id }}" | <a href="{% url 'admin:films_productionlog_changelist' %}?film__id__exact={{ film.id }}" | ||||
| class="btn btn-sm btn-secondary">Manage Production Logs</a> | class="btn btn-sm btn-secondary">Manage Production Logs</a> | ||||
| </div> | </div> | ||||
| {% endif %} | {% endif %} | ||||