14 lines
643 B
HTML
14 lines
643 B
HTML
{% with "whoisdb:"|add:prefix|add:"-detail" as detailView %}
|
|
{% with "whoisdb:"|add:prefix|add:"-delete" as deleteView %}
|
|
{% with "whoisdb:"|add:prefix|add:"-edit" as editView %}
|
|
<tr>
|
|
<td><a href="{% url detailView obj.handle %}">{{ obj.handle }}</a></td>
|
|
<td>{{ objType }}</td>
|
|
<td>{{obj.name }}{{ obj.description }}</td>
|
|
<td>{% for contact in obj.admin_c.all %}<a href="{% url "whoisdb:contact-detail" contact.handle %}">{{ contact }}</a> {% endfor %}</td>
|
|
<td><a href="{% url editView obj.handle %}">Edit</a> <a href="{% url deleteView obj.handle %}">Delete</a></td>
|
|
</tr>
|
|
{% endwith %}
|
|
{% endwith %}
|
|
{% endwith %}
|