summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-03-27 14:51:30 +0100
committerMorris Jobke <morris.jobke@gmail.com>2013-03-27 15:14:09 +0100
commitd3ca97dd2f6a12de191cd8bf178ca9132959c451 (patch)
tree0cffc014771b32eab5bbf819a71a953397351d15 /settings/templates
parent0c666cb7640c062ecfb89c4f341dfc99f4c98875 (diff)
downloadnextcloud-server-d3ca97dd2f6a12de191cd8bf178ca9132959c451.tar.gz
nextcloud-server-d3ca97dd2f6a12de191cd8bf178ca9132959c451.zip
Make it possible to show less log entries again - fix owncloud/core#1593
* show "less" button only if there are more than 3 entries * only "remove" logs till last 3 entries
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/admin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index dd5e89b8f82..bdf4e676c1c 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -221,6 +221,7 @@ endfor;?>
</table>
<?php if ($_['entriesremain']): ?>
<input id='moreLog' type='button' value='<?php p($l->t('More'));?>...'>
+ <input id='lessLog' type='button' style='display:none' value='<?php p($l->t('Less'));?>...'>
<?php endif; ?>
</fieldset>