{{ extends "layouts/index_site" }} {{ import "layouts/partials/helpers/csrf" }} {{ import "layouts/partials/helpers/captcha" }} {{ import "layouts/partials/helpers/errors" }} {{ import "layouts/partials/helpers/tags" }} {{ import "layouts/partials/helpers/treeview" }} {{ import "layouts/partials/helpers/tag_form" }} {{block title()}}{{Torrent.Name}}{{end}} {{block content_body()}}
{{ T("category") }}: |
{{ CategoryName(Torrent.Category, Torrent.SubCategory) == "" ? T("unknown") : T(CategoryName(Torrent.Category, Torrent.SubCategory)) }}
|
{{ T("date") }}: | {{Torrent.Date}} |
{{ T("uploaded_by") }}: | {{ genUploaderLink(Torrent.UploaderID, Torrent.UploaderName, Torrent.Hidden)|raw }} | {{ T("seeders")}}: | {{if Torrent.LastScrape.IsZero}}{{ T("unknown")}}{{else}}{{Torrent.Seeders}}{{end}} |
{{ T("website_link") }}: | {{if Torrent.WebsiteLink != ""}} {{Torrent.WebsiteLink}} {{else}}N/A{{end}} | {{ T("leechers")}}: | {{if Torrent.LastScrape.IsZero}}{{ T("unknown")}}{{else}}{{Torrent.Leechers}}{{end}} |
{{ T("hash")}}: | {{Torrent.Hash}} | {{ T("completed")}}: | sdqsdqs{{if Torrent.LastScrape.IsZero}}{{ T("unknown")}}{{else}}{{Torrent.Completed}}{{end}} |
{{ T("size")}}: | {{ fileSize(Torrent.Filesize, T) }} | {{ T("last_scraped")}} | {{formatDateRFC(Torrent.LastScrape)}}{{else}}">{{ T("unknown")}}{{end}} |
{{ T("torrent_language")}}: | {{ range _, language := Torrent.Languages}} {{ if language != "" }} 5 }}class="big"{{ end }}> {{ LanguageNameFromCode(language, T) }} {{end}} {{end}} | ||
{{ T("related_to") }} | {{ if Torrent.AnidbID > 0 }} {{ T("tagtype_anidbid") }}: {{ Torrent.AnidbID }} {{end}} {{ if Torrent.VndbID > 0 }} {{ T("tagtype_vndbid") }}: {{ Torrent.VndbID }} {{end}} {{ if Torrent.VgmdbID > 0 }} {{ T("tagtype_vgmdbid") }}: {{ Torrent.VgmdbID }} {{end}} {{ if Torrent.Dlsite > 0 }} {{ T("tagtype_dlsite") }}: {{ Torrent.Dlsite }} {{end}} | ||
{{ T("accepted_tags")}}: | {{ range Torrent.AcceptedTags }} {{ yield tag(tag=., accepted=true, torrentID=Torrent.ID) }} {{end}} | ||
{{ T("recommended_tags")}}: | {{ range Torrent.Tags }} {{ yield tag(tag=., accepted=false, torrentID=Torrent.ID) }} {{end}} {{ T("complement") }} | ||
{{ T("tagtype_videoquality") }}: | {{ T("tagvalue_"+Torrent.VideoQuality) }} |
{{ T("description")}}
{{ if Torrent.Description != ""}}{{ T("no_description") }}
{{end}} 1}}checked{{end}}/>{{ T("comments")}}
{{range index, element := Torrent.Comments}}
{{element.Username}}
{{element.Content|raw}}