Fix broken links
This commit is contained in:
parent
d77b876a54
commit
d7bd21d865
|
@ -25,7 +25,7 @@
|
||||||
<td>{{ obj.domain.name }}</td>
|
<td>{{ obj.domain.name }}</td>
|
||||||
<td>
|
<td>
|
||||||
{% for mailbox in obj.mailboxes %}
|
{% for mailbox in obj.mailboxes %}
|
||||||
<a href="#TODO-mailbox-detail-{{ mailbox.id }}">{{ mailbox.name }}</a>
|
<a href="{% url 'musician:mailbox-update' mailbox.id %}">{{ mailbox.name }}</a>
|
||||||
{% if not forloop.last %}<br/> {% endif %}
|
{% if not forloop.last %}<br/> {% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<button type="submit" class="btn btn-secondary">{% trans "Save" %}</button>
|
<button type="submit" class="btn btn-secondary">{% trans "Save" %}</button>
|
||||||
{% if form.instance %}
|
{% if form.instance %}
|
||||||
<div class="float-right">
|
<div class="float-right">
|
||||||
<a class="btn btn-outline-warning" href="{% url 'musician:mailbox-password' mailbox.id %}"><i class="fas fa-key"></i> {% trans "Change password" %}</a>
|
<a class="btn btn-outline-warning" href="{% url 'musician:mailbox-password' view.kwargs.pk %}"><i class="fas fa-key"></i> {% trans "Change password" %}</a>
|
||||||
<a class="btn btn-danger" href="{% url 'musician:mailbox-delete' view.kwargs.pk %}">{% trans "Delete" %}</a>
|
<a class="btn btn-danger" href="{% url 'musician:mailbox-delete' view.kwargs.pk %}">{% trans "Delete" %}</a>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue