dnmgmt/templates/whoisdb/handle_table_row.html

14 lines
643 B
HTML
Raw Normal View History

2017-02-28 19:44:15 +01:00
{% 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 %}