(js) Adapt md-toast following changes in md

This commit is contained in:
Francis Lachapelle committed 2015-12-09 18:52:52 -05:00
1 parent 450e3f03e2
commit f4e80aa819
5 files changed
+59 -45

No files matched your search

@@ -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',