mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Introduce linkify template filter
This commit is contained in:
@@ -19,21 +19,15 @@
|
||||
<table class="table table-hover attr-table">
|
||||
<tr>
|
||||
<th scope="row">Device</th>
|
||||
<td>
|
||||
<a href="{{ object.device.get_absolute_url }}">{{ object.device }}</a>
|
||||
</td>
|
||||
<td>{{ object.device|linkify }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Device Type</th>
|
||||
<td>
|
||||
<a href="{{ object.device.device_type.get_absolute_url }}">{{ object.device.device_type }}</a>
|
||||
</td>
|
||||
<td>{{ object.device.device_type|linkify }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Module Type</th>
|
||||
<td>
|
||||
<a href="{{ object.module_type.get_absolute_url }}">{{ object.module_type }}</a>
|
||||
</td>
|
||||
<td>{{ object.module_type|linkify }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Serial Number</th>
|
||||
|
Reference in New Issue
Block a user