diff --git a/templates/_badgemenu.html b/templates/_badgemenu.html index 7697bc70..bb6ed667 100644 --- a/templates/_badgemenu.html +++ b/templates/_badgemenu.html @@ -7,6 +7,7 @@ {{ .Username }} diff --git a/templates/admin/commentlist.html b/templates/admin/commentlist.html index 39cbca0a..e457da87 100644 --- a/templates/admin/commentlist.html +++ b/templates/admin/commentlist.html @@ -1,6 +1,6 @@ {{define "title"}}Comments List{{end}} {{define "content"}} - +
{{ range .Comments}} diff --git a/templates/admin/panelindex.html b/templates/admin/panelindex.html index 5ada9c6c..aac03ffd 100644 --- a/templates/admin/panelindex.html +++ b/templates/admin/panelindex.html @@ -1,7 +1,7 @@ {{define "title"}}Moderation Overview{{end}} {{define "content"}}

Last Torrents

-
{{ .Content }}{{ .User.Username }}
+
{{ range .Torrents}} @@ -14,7 +14,7 @@

Last Torrents Report

-
{{ .Name }}{{ .UploaderID }}
+
{{ range .TorrentReports}} @@ -27,7 +27,7 @@

Last Users

-
{{ .Torrent.Name }}{{.User.Username}}{{.Description}}
+
{{ range .Users}} @@ -42,7 +42,7 @@

Last Comments

-
+
{{ range .Comments}} diff --git a/templates/admin/torrent_report.html b/templates/admin/torrent_report.html index 0874086b..aa1e7f9e 100644 --- a/templates/admin/torrent_report.html +++ b/templates/admin/torrent_report.html @@ -1,9 +1,8 @@ {{define "title"}}Torrents Report{{end}} {{define "content"}} -
{{ .Content }}{{ .User.Username }}
-
+
{{ range .Torrents}} {{end}}
{{ .Torrent.Name }}{{.User.Username}}{{.Description}}Delete
-{{end}} \ No newline at end of file +{{end}} diff --git a/templates/admin/torrentlist.html b/templates/admin/torrentlist.html index 269bc943..62fd365d 100644 --- a/templates/admin/torrentlist.html +++ b/templates/admin/torrentlist.html @@ -1,6 +1,6 @@ {{define "title"}}Torrents List{{end}} {{define "content"}} - +
{{ range .Torrents}} diff --git a/templates/admin/userlist.html b/templates/admin/userlist.html index 11b452a5..db67a2d8 100644 --- a/templates/admin/userlist.html +++ b/templates/admin/userlist.html @@ -1,6 +1,6 @@ {{define "title"}}Users List{{end}} {{define "content"}} -
{{ .Name }}{{ .UploaderID }}
+
{{ range .Users}}