Integrate snipContent more tightly into snip and cleanup old code

This commit is contained in:
Tim
2023-12-20 22:37:06 +01:00
parent 64bd7e3642
commit 5624fc3a74
9 changed files with 67 additions and 45 deletions

View File

@ -31,8 +31,8 @@
</div>
<div class="card-footer">
<p class="card-text text-muted">
Current version: {{ activeVersion }}
{% if activeVersion == latestVersion %}(latest){% endif %}
Current version: {{ snip.activeVersion.id }}
{% if snip.activeVersion == snip.latestVersion %}(latest){% endif %}
</p>
</div>
</div>