{{ extends "layouts/index_site" }} {{ import "layouts/partials/helpers/csrf" }} {{ import "layouts/partials/helpers/captcha" }} {{ import "layouts/partials/helpers/treeview" }} {{block title()}}{{Torrent.Name}}{{end}} {{block additional_header()}} {{end}} {{block content_body()}}
{{ T("category") }}: | {{ 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")}}: | {{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")}}: | {{ LanguageName(Torrent.Language, T) }} |
{{ T("description")}}
{{ if Torrent.Description != ""}}{{ T("no_description") }}
{{end}}{{ T("file_name")}} | {{ T("size")}} | {{ yield make_treeview(treeviewData=makeTreeViewData(RootFolder, 0, T, "root")) }}
---|
{{ T("no_files") }}
{{ end }}{{ T("comments")}}
{{range index, element := Torrent.Comments}}
{{.Username}}
{{.Content}}