Introduce linkify template filter

This commit is contained in:
jeremystretch
2022-03-22 14:51:20 -04:00
parent dc92e19f76
commit 75dae5fbe8
68 changed files with 240 additions and 637 deletions

View File

@@ -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 %}