Add static token to settings

This commit is contained in:
2022-10-16 13:36:17 +01:00
parent 9139b4ffdd
commit 3af63c5ef6
4 changed files with 8 additions and 5 deletions

View File

@@ -42,7 +42,7 @@
</span>
</span>
</button>
<a href="{% url 'callbacks' type='page' hook_id=item.id %}"><button
<a href="{% url 'callbacks' type='{{ type }}' hook_id=item.id %}"><button
class="button is-success">
<span class="icon-text">
<span class="icon">

View File

@@ -5,7 +5,7 @@
<th>id</th>
<th>hook id</th>
<th>hook name</th>
<th>data</th>
<th>title</th>
<th>actions</th>
</thead>
{% for item in items %}
@@ -20,7 +20,7 @@
hx-target="#modals-here">{{ item.hook.name }}
</a>
</td>
<td><pre>{{ item.data }}</pre></td>
<td><pre>{{ item.title }}</pre></td>
<td>
<div class="buttons">