Renamed the view accounts.show to accounts.detail in the accounting application.
This commit is contained in:
@ -141,7 +141,7 @@ First written: 2020/8/8
|
||||
<div class="col-sm-2">{{ _("Child Accounts:")|force_escape }}</div>
|
||||
<div class="col-sm-10">
|
||||
{% for child in account.child_set.all %}
|
||||
<a class="btn btn-primary" type="role" href="{% url_with_return "accounting:accounts.show" child %}">
|
||||
<a class="btn btn-primary" type="role" href="{% url_with_return "accounting:accounts.detail" child %}">
|
||||
{{ child }}
|
||||
</a>
|
||||
{% empty %}
|
||||
|
@ -67,7 +67,7 @@ First written: 2020/8/7
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="actions">
|
||||
<a href="{% url "accounting:accounts.show" account %}" class="btn btn-info" role="button">
|
||||
<a href="{% url "accounting:accounts.detail" account %}" class="btn btn-info" role="button">
|
||||
<i class="fas fa-eye"></i>
|
||||
<span class="d-none d-sm-inline">{{ _("View")|force_escape }}</span>
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user