We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae5bdd4 commit a3da340Copy full SHA for a3da340
1 file changed
src/profiles/templates/tickets/ticket_list.html
@@ -118,15 +118,15 @@ <h4>Webshop tickets</h4>
118
<td>
119
<a href="{% url 'tickets:ticket_download' pk=ticket.pk %}" class="btn btn-primary"><i
120
class="fas fa-download" aria-hidden="true"></i> Download PDF</a>
121
+ {% if not ticket.product.ticket_type.camp.read_only %}
122
<a href="{% url 'tickets:shopticket_edit' pk=ticket.pk %}" class="btn btn-primary">
- {% if not ticket.product.ticket_type.camp.read_only %}
123
{% if not ticket.name %}
124
<i class="fas fa-edit" aria-hidden="true"></i> Set name
125
{% else %}
126
<i class="fas fa-edit" aria-hidden="true"></i> Edit name
127
{% endif %}
128
- {% endif %}
129
</a>
+ {% endif %}
130
</td>
131
</tr>
132
</tbody>
0 commit comments