Item editor: Show internal name in headline

This commit is contained in:
Raphael Michel
2021-04-17 15:43:46 +02:00
parent 3831ddec93
commit bc1641a97e

View File

@@ -1,9 +1,9 @@
{% extends "pretixcontrol/event/base.html" %} {% extends "pretixcontrol/event/base.html" %}
{% load i18n %} {% load i18n %}
{% block title %}{{ object.name }} :: {% trans "Product" %}{% endblock %} {% block title %}{{ object }} :: {% trans "Product" %}{% endblock %}
{% block content %} {% block content %}
{% if object.id %} {% if object.id %}
<h1>{% trans "Modify product:" %} {{ object.name }}</h1> <h1>{% trans "Modify product:" %} {{ object }}</h1>
{% else %} {% else %}
<h1>{% trans "Create product" %}</h1> <h1>{% trans "Create product" %}</h1>
<p>{% blocktrans trimmed %} <p>{% blocktrans trimmed %}