use group.local_path instead of harcoded url

This commit is contained in:
Hugh Rundle 2021-10-03 12:03:37 +11:00
parent 1ad8d87434
commit 7db2af89dd

View file

@ -9,7 +9,7 @@
<div class="card is-stretchable">
<header class="card-header">
<h4 class="card-header-title">
<a href="/group/{{ group.id }}">{{ group.name }}</a> <span class="subtitle">{% include 'snippets/privacy-icons.html' with item=group %}</span>
<a href="{{ group.local_path }}">{{ group.name }}</a> <span class="subtitle">{% include 'snippets/privacy-icons.html' with item=group %}</span>
</h4>
{% if group.user == user %}
<div class="card-header-icon">