Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/templates/errors/torrent_file_missing.jet.html
kilo 216d241143 alt attribute for ads images, fix missing tags on upload, fix wrong name for translation string (#1577)
* alt attribute for ads images

* fix <tr> too much

* fix missing <tr> that created HTML error

* fix wrong translation string name

* ditto

* fix accepted tags not having background on classic

* Put tag table inside upload table

* Update classic.css

* Remove prefix of dlsite tag on view

* Update main.css

* 10px bigger website

* fix wrong css selector

* fix markdown scroll visually broken in classic.css

* Add magnet link on torrent file not found page

* don't show magnet <a> if empty

* Fetch magnet link in download.go and pass it on to torrent_file_missing

* add magnet in template_test
2017-09-18 10:15:39 +10:00

14 lignes
507 o
HTML

{{ extends "layouts/index_site" }}
{{block title()}}{{ T("err_no_torrent_file")}}{{end}}
{{block content_body()}}
<div style="text-align: center;">
<h1>{{ T("err_no_torrent_file")}}</h1>
{{ if magnet != "" }}
<a href="{{magnet}}" class="form-input btn-green download" style="height: auto;">
<div class="icon-magnet"></div>{{ T("magnet_link")}}
</a>
<br/><br/>
{{ end }}
<img src="/img/no_torrent_file.jpg" alt="No torrent file"/>
</div>
{{end}} {{block mascot()}}<br />{{end}}