added label to custom icon-upload

Signed-off-by: fnuesse <felix.nuesse@t-online.de>
This commit is contained in:
fnuesse 2018-12-16 12:12:37 +01:00
parent 568caf4d11
commit ea1c107236
No known key found for this signature in database
GPG key ID: 2089A3431243E819
2 changed files with 3 additions and 0 deletions

View file

@ -141,6 +141,7 @@ class TranslationController extends ApiController {
'add.tag' => $this->trans->t('Add tag'),
'pick.icon' => $this->trans->t('Pick an icon'),
'pick.icon.search' => $this->trans->t('Search icons'),
'pick.icon.custom.label' => $this->trans->t('Upload a custom icon:'),
'use.icon' => $this->trans->t('Use this icon'),
'selected.icon' => $this->trans->t('Selected icon'),

View file

@ -1,6 +1,7 @@
<div>
<div class="cell">
<credential-icon credential="credential"></credential-icon>
<div ng-if="credential.icon.content" style="width: 16px;"></div>
</div>
<div style="display: none" id="iconPicker" title="{{ 'pick.icon' | translate }}">
<div class="iconList">
@ -13,6 +14,7 @@
</div>
<div class="iconModifier">
<input id="iconPicker-Search" class="iconSearch" type="text" placeholder="{{ 'pick.icon.search' | translate }}">
<label for="iconPicker-CustomIcon">{{ 'pick.icon.custom.label' | translate }}<label>
<input id="iconPicker-CustomIcon" class="iconSearch" type="file"/>
<!--
<div ng-repeat="(groupName, icons) in iconGroups">