Fix marking of new releases in Gamma browse page.

This commit is contained in:
DariusIII
2016-07-13 10:52:35 +02:00
parent 2c20073f42
commit c2ed04c7ee
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -1,4 +1,5 @@
2016-07-13 DariusIII
* Fix: Mark new releases in Gamma browse page.
* Fix: Check if isadmin is set in Gamma theme.
* Chg: Add check for empty values for userimdbs in upcoming pages.
* Chg: Add check for empty values for season and episode in api page
+2 -2
View File
@@ -79,7 +79,7 @@
<th>Action</th>
</tr>
{foreach $results as $result}
<tr class="{cycle values=",alt"}{if $lastvisit|strtotime<$result.adddate|strtotime} new{/if}" id="guid{$result.guid}">
<tr class="{cycle values=",alt"}" id="guid{$result.guid}">
{if (strpos($category, '60') !== false)}
<td class="check" width="25%"><input id="chk{$result.guid|substr:0:7}"
type="checkbox" class="nzb_check"
@@ -99,7 +99,7 @@
{/if}
<td class="item">
<label for="chk{$result.guid|substr:0:7}">
<a class="title" title="View details" href="{$smarty.const.WWW_TOP}/details/{$result.guid}/{$result.searchname|escape:"seourl"}"><h5>{$result.searchname|escape:"htmlall"|replace:".":" "}</h5></a>
<a class="title" title="View details" href="{$smarty.const.WWW_TOP}/details/{$result.guid}/{$result.searchname|escape:"seourl"}"><h5>{$result.searchname|escape:"htmlall"|replace:".":" "} {if $lastvisit|strtotime < $result.adddate|strtotime} <a href="#" class="badge badge-success">New</a>{/if}</h5></a>
</label>
{if $result.passwordstatus == 2}
<i class="fa fa-lock"></i>