Files
newznab-tmux/public/themes/admin/category-list.tpl
T
2017-10-09 13:39:04 +02:00

45 lines
1.2 KiB
Smarty

<h1>{$page->title}</h1>
<div class="well well-sm">
<p>
Make a category inactive to remove it from the menu. This does not prevent binaries being matched into an appropriate category. Disable preview prevents ffmpeg being used for releases in the category.
</p>
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table Sortable">
<tr>
<th>id</th>
<th>title</th>
<th>parent</th>
<th>min size</th>
<th>max size</th>
<th>active</th>
<th>disable preview</th>
</tr>
{foreach $categorylist as $category}
<tr class="{cycle values=",alt"}">
<td>{$category.id}</td>
<td><a href="{$smarty.const.WWW_TOP}/category-edit.php?id={$category.id}">{$category.title}</a></td>
<td>
{if $category.parentid != null}
{$category->parent->title}
{else}
n/a
{/if}
</td>
<td class="mid">
{if $category.minsizetoformrelease != 0 }{$category.minsizetoformrelease|fsize_format:"MB"}{/if}
</td>
<td class="mid">
{if $category.maxsizetoformrelease != 0 }{$category.maxsizetoformrelease|fsize_format:"MB"}{/if}
</td>
<td>{if $category.status == "1"}Yes{else}No{/if}</td>
<td class="mid">{if $category.disablepreview == "1"}Yes{else}No{/if}</td>
</tr>
{/foreach}
</table>
</div>