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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-06-28 14:15:35 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-29 15:12:06 +0300
commitd6947a56c0a3994e876f708a6f23dc32d10384af (patch)
tree62e7447e171f1f8a89632a3fdd342e2980db53e4 /apps/systemtags/templates
parent0ec483b668d14ec85ca23004cbc1ae1422909748 (diff)
Adjust collaborative tags and automated tagging settings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/systemtags/templates')
-rw-r--r--apps/systemtags/templates/admin.php31
1 files changed, 15 insertions, 16 deletions
diff --git a/apps/systemtags/templates/admin.php b/apps/systemtags/templates/admin.php
index e964f610ca1..3d0b915c52c 100644
--- a/apps/systemtags/templates/admin.php
+++ b/apps/systemtags/templates/admin.php
@@ -27,32 +27,31 @@ script('core', [
]);
script('systemtags', 'admin');
+style('systemtags', 'settings');
/** @var \OCP\IL10N $l */
?>
<form id="systemtags" class="section" data-systemtag-id="">
<h2><?php p($l->t('Collaborative tags')); ?></h2>
- <p class="settings-hint"><?php p($l->t('Create and edit collaborative tags. These tags affect all users.')); ?></p>
+ <p class="settings-hint"><?php p($l->t('Collaborative tags are available for all users. Restricted tags are visible to users but cannot be assigned by them. Invisible tags are for internal use, since users cannot see or assign them.')); ?></p>
- <input type="hidden" name="systemtag" id="systemtag" placeholder="<?php p($l->t('Select tag …')); ?>" style="width: 400px;" />
+ <input type="hidden" name="systemtag" id="systemtag" placeholder="<?php p($l->t('Select tag …')); ?>" />
- <br><br>
+ <h3 id="systemtag_create"><?php p($l->t('Create a new tag')); ?></h3>
- <input type="text" id="systemtag_name" name="systemtag_name" placeholder="<?php p($l->t('Name')); ?>" style="width: 200px;">
+ <div class="systemtag-input">
+ <input type="text" id="systemtag_name" name="systemtag_name" placeholder="<?php p($l->t('Name')); ?>">
- <span id="systemtag_delete" class="hidden">
- <img src="<?php p(\OCP\Template::image_path('core', 'actions/delete.svg')); ?>" alt="<?php p($l->t('Delete')); ?>">
- </span>
+ <select id="systemtag_level">
+ <option value="3"><?php p($l->t('Public')); ?></option>
+ <option value="2"><?php p($l->t('Restricted')); ?></option>
+ <option value="0"><?php p($l->t('Invisible')); ?></option>
+ </select>
- <br>
+ <a id="systemtag_delete" class="hidden icon-delete"><span class="hidden-visually"><?php p($l->t('Delete')); ?></span></a>
+ <a id="systemtag_reset" class="hidden icon-close"><span class="hidden-visually"><?php p($l->t('Reset')); ?></span></a>
+ <a id="systemtag_submit" class="icon-confirm"><span class="hidden-visually"><?php p($l->t('Create')); ?></span></a>
+ </div>
- <select id="systemtag_level">
- <option value="3"><?php p($l->t('Public')); ?></option>
- <option value="2"><?php p($l->t('Restricted')); ?></option>
- <option value="0"><?php p($l->t('Invisible')); ?></option>
- </select>
-
- <input type="button" id="systemtag_submit" value="<?php p($l->t('Create')); ?>">
- <input type="button" id="systemtag_reset" value="<?php p($l->t('Reset')); ?>">
</form>