(js) Adapt md-toast following changes in md

This commit is contained in:
Francis Lachapelle
2015-12-09 18:52:52 -05:00
parent 450e3f03e2
commit f4e80aa819
5 changed files with 59 additions and 45 deletions

View File

@@ -161,8 +161,10 @@
$mdToast.show({
template: [
'<md-toast>',
' <md-icon class="md-warn md-hue-1">error_outline</md-icon>',
' <span>' + l('An error occured while importing contacts.') + '</span>',
' <div class="md-toast-content">',
' <md-icon class="md-warn md-hue-1">error_outline</md-icon>',
' <span>' + l('An error occured while importing contacts.') + '</span>',
' </div>',
'</md-toast>'
].join(''),
position: 'top right',
@@ -183,8 +185,10 @@
$mdToast.show({
template: [
'<md-toast>',
' <md-icon class="md-warn md-hue-1">error_outline</md-icon>',
' <span>' + l('Select a vCard or LDIF file.') + '</span>',
' <div class="md-toast-content">',
' <md-icon class="md-warn md-hue-1">error_outline</md-icon>',
' <span>' + l('Select a vCard or LDIF file.') + '</span>',
' </div>',
'</md-toast>'
].join(''),
position: 'top right',