Toasts {{:: sample | translate }}
{{:: simple | translate }}
{{::showNotification | translate}}
{{:: code | translate}}
pipToasts.showNotification(pipTranslate.translate('NOTIFICATION') + messageCount, ['accept', 'reject'])
{{:: textSmall | translate }}
{{::smallNotification | translate}}
{{:: code | translate}}
pipToasts.showNotification(pipTranslate.translate('NOTIFICATION') + 'Small' + messageCount);
{{:: notificationError| translate }}
{{::showError | translate}}
{{:: code | translate}}
var error = {
'path': '/api/1.0/parties/:id/followers',
'method': 'POST',
code: 400,
'name': 'Bad Request',
'error': 1402,
'message': 'Missing party information'
};
pipToasts.showError(pipTranslate.translate('ERROR') + errorCount, null, null, null, error);
{{:: withoutActions | translate }}
{{::showNotificationWithoutAction | translate}}
{{:: code | translate}}
pipToasts.showNotification(pipTranslate.translate('NOTIFICATION') + messageCount, [])
$scope.showNotification = 'Show notification';
$scope.showError = 'Show error';
$scope.errorText = 'New error ';
$scope.notificationText = 'New notification ';
$scope.simple = 'Simple';
$scope.textSmall = 'Small';
$scope.notificationError = 'Error';
$scope.withoutActions = 'Without actions';
$scope.smallNotification = 'Show small notification';
$scope.showNotificationWithoutAction = 'Show notification without actions';
$scope.sample = 'Sample';