mirror of
https://github.com/moparisthebest/mail
synced 2024-11-22 17:02:17 -05:00
Review faq link
This commit is contained in:
parent
f417a09b8d
commit
fc4bd0054f
@ -123,6 +123,7 @@ define(function(require) {
|
|||||||
updateCertificateMessage: 'The SSL certificate for the mail server {0} changed. Do you want to proceed?',
|
updateCertificateMessage: 'The SSL certificate for the mail server {0} changed. Do you want to proceed?',
|
||||||
updateCertificatePosBtn: 'Yes',
|
updateCertificatePosBtn: 'Yes',
|
||||||
updateCertificateNegBtn: 'No',
|
updateCertificateNegBtn: 'No',
|
||||||
|
certificateFaqLink: 'https://github.com/whiteout-io/mail-html5/wiki/FAQ#what-does-the-ssl-certificate-for-the-mail-server--changed-mean',
|
||||||
bugReportTitle: 'Report a bug',
|
bugReportTitle: 'Report a bug',
|
||||||
bugReportSubject: '[Bug] I want to report a bug',
|
bugReportSubject: '[Bug] I want to report a bug',
|
||||||
bugReportBody: 'Steps to reproduce\n1. \n2. \n3. \n\nWhat happens?\n\n\nWhat do you expect to happen instead?\n\n\n\n== PLEASE DONT PUT ANY KEYS HERE! ==\n\n\n## Log\n\nBelow is the log. It includes your interactions with your email provider in an anonymized way from the point where you started the app for the last time. Any information provided by you will be used for the porpose of locating and fixing the bug you reported. It will be deleted subsequently. However, you can edit this log and/or remove log data in the event that something would show up.\n\n',
|
bugReportBody: 'Steps to reproduce\n1. \n2. \n3. \n\nWhat happens?\n\n\nWhat do you expect to happen instead?\n\n\n\n== PLEASE DONT PUT ANY KEYS HERE! ==\n\n\n## Log\n\nBelow is the log. It includes your interactions with your email provider in an anonymized way from the point where you started the app for the last time. Any information provided by you will be used for the porpose of locating and fixing the bug you reported. It will be deleted subsequently. However, you can edit this log and/or remove log data in the event that something would show up.\n\n',
|
||||||
|
@ -394,7 +394,8 @@ define(function(require) {
|
|||||||
// do not update the pinned certificates!
|
// do not update the pinned certificates!
|
||||||
callback({
|
callback({
|
||||||
title: str.outdatedCertificateTitle,
|
title: str.outdatedCertificateTitle,
|
||||||
message: str.outdatedCertificateMessage.replace('{0}', self[component].host)
|
message: str.outdatedCertificateMessage.replace('{0}', self[component].host),
|
||||||
|
faqLink: str.certificateFaqLink,
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -406,6 +407,7 @@ define(function(require) {
|
|||||||
positiveBtnStr: str.updateCertificatePosBtn,
|
positiveBtnStr: str.updateCertificatePosBtn,
|
||||||
negativeBtnStr: str.updateCertificateNegBtn,
|
negativeBtnStr: str.updateCertificateNegBtn,
|
||||||
showNegativeBtn: true,
|
showNegativeBtn: true,
|
||||||
|
faqLink: str.certificateFaqLink,
|
||||||
callback: function(granted) {
|
callback: function(granted) {
|
||||||
if (!granted) {
|
if (!granted) {
|
||||||
return;
|
return;
|
||||||
|
@ -17,7 +17,7 @@ define(function(require) {
|
|||||||
open: true,
|
open: true,
|
||||||
title: options.title || 'Error',
|
title: options.title || 'Error',
|
||||||
message: options.errMsg || options.message,
|
message: options.errMsg || options.message,
|
||||||
showFaqLink: options.showFaqLink || false,
|
faqLink: options.faqLink,
|
||||||
positiveBtnStr: options.positiveBtnStr || 'Ok',
|
positiveBtnStr: options.positiveBtnStr || 'Ok',
|
||||||
negativeBtnStr: options.negativeBtnStr || 'Cancel',
|
negativeBtnStr: options.negativeBtnStr || 'Cancel',
|
||||||
showNegativeBtn: options.showNegativeBtn || false,
|
showNegativeBtn: options.showNegativeBtn || false,
|
||||||
|
@ -2,6 +2,10 @@
|
|||||||
padding: 0px;
|
padding: 0px;
|
||||||
color: $color-grey-dark;
|
color: $color-grey-dark;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: $color-blue;
|
||||||
|
}
|
||||||
|
|
||||||
.control {
|
.control {
|
||||||
float: right;
|
float: right;
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<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>
|
<p>{{state.dialog.message}} <a ng-show="state.dialog.faqLink" href="{{state.dialog.faqLink}}" target="_blank">Learn more</a></p>
|
||||||
<div class="control">
|
<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(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>
|
<button wo-touch="confirm(true)" class="btn">{{state.dialog.positiveBtnStr}}</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user