Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/juliushaertl/apporder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <github@jus.li>2017-06-27 19:22:41 +0300
committerGitHub <noreply@github.com>2017-06-27 19:22:41 +0300
commit6d02b3c87127fcf300252c84cf505accabb03e2b (patch)
tree192dfc0617c54dbf03cd0133426614e0677ded51 /templates
parentf0e0673a487670679ddd90b679d6ac0f97cec8e3 (diff)
parentb0d03d17b85aabb03af26e8f0057ad1e3924d2e8 (diff)
Merge pull request #35 from bakkegaard/remove_admin_text
Remove admin text from personal settings
Diffstat (limited to 'templates')
-rw-r--r--templates/admin.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/admin.php b/templates/admin.php
index 425106f..7299195 100644
--- a/templates/admin.php
+++ b/templates/admin.php
@@ -1,6 +1,8 @@
<div class="section" id="apporder">
<h2><?php p($l->t('App Order')) ?></h2>
- <p><?php p($l->t('Set a default order for all users. This will be ignored, if the user has setup a custom order.')) ?></p>
+ <?php if($_['type'] === 'admin') { ?>
+ <p><?php p($l->t('Set a default order for all users. This will be ignored, if the user has setup a custom order.')); ?></p>
+ <?php } ?>
<p><em><?php p($l->t('Drag the app icons to change their order.')); ?></em></p>
<ul id="appsorter" data-type="<?php p($_['type']); ?>">
<?php foreach($_['nav'] as $entry) { ?>