Torrent RSS link fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Elias Jansson
2025-09-30 23:14:13 +02:00
parent 53b4a5e97d
commit 80b0e825b2

View File

@@ -92,7 +92,7 @@
<div class="col-center @(main.Seeders > 40 ? "highlight-green" : "")">@main.Seeders</div> <div class="col-center @(main.Seeders > 40 ? "highlight-green" : "")">@main.Seeders</div>
<div class="col-center highlight-red">@main.Leechers</div> <div class="col-center highlight-red">@main.Leechers</div>
<div class="col-action"> <div class="col-action">
<form asp-controller="Torrent" asp-action="Add" method="post" onsubmit="return confirmDownload('@main.Title')"> <form asp-controller="RSS" asp-action="Add" method="post" onsubmit="return confirmDownload('@main.Title')">
<input type="hidden" name="torrentUrl" value="@main.TorrentUrl" /> <input type="hidden" name="torrentUrl" value="@main.TorrentUrl" />
<button type="submit" class="btn-add btn-small"> Ladda ner</button> <button type="submit" class="btn-add btn-small"> Ladda ner</button>
</form> </form>
@@ -119,7 +119,7 @@
<div class="@(version.Seeders > 40 ? "highlight-green" : "")">@version.Seeders</div> <div class="@(version.Seeders > 40 ? "highlight-green" : "")">@version.Seeders</div>
<div class="highlight-red">@version.Leechers</div> <div class="highlight-red">@version.Leechers</div>
<div class="col-action"> <div class="col-action">
<form asp-controller="Torrent" asp-action="Add" method="post" onsubmit="return confirmDownload('@version.Title')"> <form asp-controller="RSS" asp-action="Add" method="post" onsubmit="return confirmDownload('@version.Title')">
<input type="hidden" name="torrentUrl" value="@version.TorrentUrl" /> <input type="hidden" name="torrentUrl" value="@version.TorrentUrl" />
<button type="submit" class="btn-add btn-small"></button> <button type="submit" class="btn-add btn-small"></button>
</form> </form>