mirror of
https://github.com/moparisthebest/mail
synced 2024-11-22 17:02:17 -05:00
[WO-489] add FAQ link option to error message
This commit is contained in:
parent
f824f1737f
commit
f417a09b8d
@ -17,6 +17,7 @@ define(function(require) {
|
||||
open: true,
|
||||
title: options.title || 'Error',
|
||||
message: options.errMsg || options.message,
|
||||
showFaqLink: options.showFaqLink || false,
|
||||
positiveBtnStr: options.positiveBtnStr || 'Ok',
|
||||
negativeBtnStr: options.negativeBtnStr || 'Cancel',
|
||||
showNegativeBtn: options.showNegativeBtn || false,
|
||||
|
@ -5,7 +5,7 @@
|
||||
</header>
|
||||
|
||||
<div class="content">
|
||||
<p>{{state.dialog.message}}</p>
|
||||
<p>{{state.dialog.message}} <a ng-show="state.dialog.showFaqLink" href="https://github.com/whiteout-io/mail-html5/wiki/FAQ" target="_blank">Learn more.</a></p>
|
||||
<div class="control">
|
||||
<button wo-touch="confirm(false)" class="btn btn-alt" ng-show="state.dialog.showNegativeBtn">{{state.dialog.negativeBtnStr}}</button>
|
||||
<button wo-touch="confirm(true)" class="btn">{{state.dialog.positiveBtnStr}}</button>
|
||||
|
Loading…
Reference in New Issue
Block a user