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

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfnuesse <felix.nuesse@t-online.de>2018-12-30 23:12:11 +0300
committerfnuesse <felix.nuesse@t-online.de>2018-12-30 23:12:11 +0300
commitd78727724af0a43bb90b0f096b9878369d746dc9 (patch)
tree2dc01c42dba9a284048f8358365bc00900bbbc5d
parent8938ff76a0dd528bd0d4517a858365c2a76ceb5a (diff)
added notification on fetchingfix/noid/icondisplay
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
-rw-r--r--controller/translationcontroller.php1
-rw-r--r--js/app/directives/iconpicker.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/controller/translationcontroller.php b/controller/translationcontroller.php
index 8d5f613f..ab34259a 100644
--- a/controller/translationcontroller.php
+++ b/controller/translationcontroller.php
@@ -145,6 +145,7 @@ class TranslationController extends ApiController {
'use.icon' => $this->trans->t('Use this icon'),
'use.icon.delete' => $this->trans->t('Delete current icon'),
'use.icon.refresh' => $this->trans->t('Get icon from page'),
+ 'use.icon.refresh.trying' => $this->trans->t('This may take a few seconds...'),
'use.icon.refresh.error' => $this->trans->t('There was an error fetching the icon!'),
'selected.icon' => $this->trans->t('Selected icon'),
diff --git a/js/app/directives/iconpicker.js b/js/app/directives/iconpicker.js
index 0992bc54..67da640e 100644
--- a/js/app/directives/iconpicker.js
+++ b/js/app/directives/iconpicker.js
@@ -116,6 +116,7 @@
};
scope.refreshUrlIcon = function(){
+ NotificationService.showNotification($translate.instant('use.icon.refresh.trying'), 5000);
var queryUrl = OC.generateUrl('apps/passman/api/v2/geticon/'+btoa(scope.credential.url));
$http.get(queryUrl).then(function (response) {
if(typeof response.data.content !== 'undefined'){