b3e3ec6083
* Fix Navigation Admin Panel * Fix broken html on reassign page * fix user link in comment list * Fix Unknown bytes * Fix switch file upload/magnet * fix modtools background white + width * fix /mod/ redirection url * Fix last torrents on modpanel * empty torrent file input * Add hidden class to h3
42 lignes
1,4 Kio
HTML
42 lignes
1,4 Kio
HTML
{{ extends "layouts/index_admin" }}
|
|
{{block title()}}{{ T("comments_list") }}{{end}}
|
|
{{block content_body()}}
|
|
<div class="results box">
|
|
<h1>{{ T("comments_list") }}</h1>
|
|
<table class="table">
|
|
<thead class="torrent-info">
|
|
<tr>
|
|
<th class="tr-name">{{ T("comments") }}</th>
|
|
<th class="tr-size">{{ T("torrents") }}</th>
|
|
<th class="tr-actions">{{ T("username") }}</th>
|
|
<th class="tr-actions">{{ T("actions") }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{ range Models}}
|
|
<tr>
|
|
<!-- TODO: add href="/mod/comment?id={{.ID}}" for comment editing -->
|
|
<td class="tr-name home-td">
|
|
<a>{{ .Content }}</a>
|
|
</td>
|
|
<td class="tr-size home-td">
|
|
<a href="/view/{{.TorrentID }}">{{ .TorrentID }}</a>
|
|
</td>
|
|
<td class="tr-size home-td">
|
|
{{if .User }}
|
|
<a href="/user/{{ .User.ID }}/{{ .User.Username }}" title="{{ .User.Username }}">{{ .User.Username }}</a>
|
|
{{else}}
|
|
れんちょん
|
|
{{end}}
|
|
</td>
|
|
<td class="tr-actions home-td">
|
|
<a href="/mod/comment/delete?id={{.ID}}" class="form-input btn-red" onclick="if (!confirm('{{ T(" are_you_sure ") }}')) return false;">
|
|
<i class="icon-trash"></i> {{ T("delete") }}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{{end}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{end}}
|