mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 19:35:56 +00:00
log viewer: disable previous page on page 1
This commit is contained in:
@@ -69,7 +69,9 @@ class Pref_System extends Handler_Protected {
|
|||||||
print "<button dojoType='dijit.form.Button'
|
print "<button dojoType='dijit.form.Button'
|
||||||
onclick='Helpers.EventLog.refresh()'>".__('Refresh')."</button>";
|
onclick='Helpers.EventLog.refresh()'>".__('Refresh')."</button>";
|
||||||
|
|
||||||
print "<button dojoType='dijit.form.Button'
|
$prev_page_disabled = $page <= 0 ? "disabled" : "";
|
||||||
|
|
||||||
|
print "<button dojoType='dijit.form.Button' $prev_page_disabled
|
||||||
onclick='Helpers.EventLog.prevPage()'>".__('<<')."</button>";
|
onclick='Helpers.EventLog.prevPage()'>".__('<<')."</button>";
|
||||||
|
|
||||||
print "<button dojoType='dijit.form.Button' disabled>".T_sprintf('Page %d of %d', $page+1, $total_pages+1)."</button>";
|
print "<button dojoType='dijit.form.Button' disabled>".T_sprintf('Page %d of %d', $page+1, $total_pages+1)."</button>";
|
||||||
|
|||||||
Reference in New Issue
Block a user