added quit option in notif in app.js
added quit option in notif in file-upload.js
added quit option in notif in fileinfomodel.js
added quit option in notif in filelist.js
added quit option in notif in filelist.js
added quit option in notif in tagsplugin.js
added quit option in notif in statusmanager.js
added quit option in notif in external.js
added quit option in notif in versionstabview.js
added quit option in notif in notification.js
changes according to the latest review.
timeout removed since there is a button to close it
translation capability added
typo fixed
test files updated
small errors fixed
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
OC.Notification.showTemporary(t('files_external','Couldn\'t get the list of external mount points: {type}',{type:error}));
OC.Notification.show(t('files_external','Couldn\'t get the list of external mount points: {type}',
{type:error}),{type:'error'}
);
},
complete:function(){
self.isGetMountPointListRunning=false;
@ -265,7 +267,9 @@ OCA.External.StatusManager = {
// check if we have a list first
if(list===undefined&&!self.emptyWarningShown){
self.emptyWarningShown=true;
OC.Notification.showTemporary(t('files_external','Couldn\'t get the list of Windows network drive mount points: empty response from the server'));
OC.Notification.show(t('files_external','Couldn\'t get the list of Windows network drive mount points: empty response from the server'),
{type:'error'}
);
return;
}
if(list&&list.length>0){
@ -295,7 +299,9 @@ OCA.External.StatusManager = {
}
});
if(showNotification){
OC.Notification.showTemporary(t('files_external','Some of the configured external mount points are not connected. Please click on the red row(s) for more information'));
OC.Notification.show(t('files_external','Some of the configured external mount points are not connected. Please click on the red row(s) for more information'),