mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Implement review changes regarding UI
This commit is contained in:
parent
233b930dd0
commit
87972e95c6
@ -135,7 +135,10 @@ define(req, function(AppConfig, Default, Language) {
|
||||
};
|
||||
|
||||
/// XXX
|
||||
Messages.crowdfunding_subscribe = "Subscribe";
|
||||
// To be edited for the Spring Release
|
||||
// Messages.dontShowAgain = "Don't show again";
|
||||
// Messages.crowdfunding_popup_text = "<h3>We need your help!</h3>To ensure that CryptPad is actively developed, consider supporting the project via the OpenCollective page, where you can see our <b>Roadmap</b> and <b>Funding goals</b>."
|
||||
// Messages.crowdfunding_popup_text2 = "Alternatively, we have subscription plans available on <a href='https://cryptpad.fr'>CryptPad.fr</a>."
|
||||
return Messages;
|
||||
|
||||
});
|
||||
|
||||
@ -251,8 +251,8 @@ define([
|
||||
// Other
|
||||
"maintenance": "construction",
|
||||
"release-notes": "notepad-text",
|
||||
"subscribe": "heart-handshake",
|
||||
"donate": "hand-heart",
|
||||
"snooze": "timer",
|
||||
};
|
||||
|
||||
Icons.add = (newIcons) => {
|
||||
|
||||
@ -3406,6 +3406,7 @@ define([
|
||||
{
|
||||
name: Messages.crowdfunding_popup_no,
|
||||
className: 'cancel',
|
||||
iconClass: 'snooze',
|
||||
onClick: function () {
|
||||
Feedback.send('CROWDFUNDING_NO');
|
||||
}
|
||||
@ -3413,7 +3414,7 @@ define([
|
||||
];
|
||||
if (Config.accounts_api && priv.accountName) {
|
||||
buttons.push({
|
||||
name: Messages.crowdfunding_subscribe,
|
||||
name: Messages.features_f_subscribe,
|
||||
className: 'primary',
|
||||
iconClass: 'subscribe',
|
||||
onClick: function () {
|
||||
|
||||
@ -1063,11 +1063,8 @@ define([
|
||||
document.title = title;
|
||||
});
|
||||
|
||||
funcs.isPadStored(function (err, val) {
|
||||
if (err || !val) { return; }
|
||||
ctx.sframeChan.query('Q_INCREMENT_CROWDFUNDING_ACTION', null, function () {
|
||||
UIElements.displayCrowdfunding(funcs);
|
||||
});
|
||||
ctx.sframeChan.query('Q_INCREMENT_CROWDFUNDING_ACTION', null, function () {
|
||||
UIElements.displayCrowdfunding(funcs);
|
||||
});
|
||||
|
||||
ctx.sframeChan.ready();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user