mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-27 03:09:31 +02:00
Introduce linkify template filter
This commit is contained in:
@@ -54,15 +54,11 @@
|
||||
<table class="table table-hover attr-table">
|
||||
<tr>
|
||||
<th scope="row">Manufacturer</th>
|
||||
<td>
|
||||
<a href="{{ module.module_type.manufacturer.get_absolute_url }}">{{ module.module_type.manufacturer }}</a>
|
||||
</td>
|
||||
<td>{{ module.module_type.manufacturer|linkify }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Module Type</th>
|
||||
<td>
|
||||
<a href="{{ module.get_absolute_url }}">{{ module.module_type }}</a>
|
||||
</td>
|
||||
<td>{{ module.module_type|linkify }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{% endwith %}
|
||||
|
||||
Reference in New Issue
Block a user