Move compare button to versions

This commit is contained in:
Tim 2025-04-23 21:56:32 +02:00
parent 0f6cc78e5e
commit 3a7870a68b
2 changed files with 3 additions and 3 deletions

View File

@ -26,9 +26,6 @@
<a href="{{ path('snip_raw', {snip: snip.id}) }}" class="btn btn-danger"> <a href="{{ path('snip_raw', {snip: snip.id}) }}" class="btn btn-danger">
<i class="fa fa-eye"></i> Raw <i class="fa fa-eye"></i> Raw
</a> </a>
<a href="{{ path('content_compare', {to: snip.activeVersion.id}) }}" class="btn btn-warning">
<i class="fa fa-eye"></i> Compare
</a>
<br><br> <br><br>
<div class="card" style="width: 100%;"> <div class="card" style="width: 100%;">
<h4 class="card-header"> <h4 class="card-header">

View File

@ -9,6 +9,9 @@
<a href="{{ path('version_set', {version: snip.latestVersion.id, snip: snip.id}) }}" class="btn btn-warning"> <a href="{{ path('version_set', {version: snip.latestVersion.id, snip: snip.id}) }}" class="btn btn-warning">
<i class="fa fa-refresh"></i> Latest <i class="fa fa-refresh"></i> Latest
</a> </a>
<a href="{{ path('content_compare', {to: snip.activeVersion.id}) }}" class="btn btn-warning">
<i class="fa fa-left-right"></i> Compare
</a>
<br><br> <br><br>
<div class="list-group"> <div class="list-group">
{% for version in snip.snipContents %} {% for version in snip.snipContents %}