Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yPhil
Pétrolette
Commits
89ada899
Commit
89ada899
authored
Mar 10, 2021
by
yPhil
Browse files
Beggar popup (kinda) OK
parent
b4084cfc
Pipeline
#396661
passed with stage
in 38 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/js/PTL.main.js
View file @
89ada899
...
...
@@ -94,8 +94,8 @@ var PTL = (function() {
});
$
(
'
body
'
).
on
(
'
click
'
,
'
.help-button
'
,
function
()
{
//
PTL.dialog.help();
PTL
.
dialog
.
beg
();
PTL
.
dialog
.
help
();
//
PTL.dialog.beg();
});
$
(
'
body
'
).
on
(
'
click
'
,
'
.new-feed-button
'
,
function
()
{
...
...
public/templates/dialogs.html
View file @
89ada899
...
...
@@ -321,9 +321,7 @@
</div>
<div
id=
"beggarDialog"
class=
"flex-box"
>
<span
class=
"beggarClose icon-cancel"
></span>
<span
class=
"huge"
>
🍏
</span>
<h4
class=
"translate"
data-content=
"Pétrolette needs you"
>
Pétrolette needs you
</h4>
<p>
<span
class=
"translate"
data-content=
"Pétrolette is free software. However the development requires"
>
...
...
@@ -332,21 +330,4 @@
<p
class=
"translate"
data-content=
"Please consider to support the Pétrolette project by sending a donation. Even the smallest amount will help a lot."
>
Please consider to support the Pétrolette project by sending a donation. Even the smallest amount will help a lot.
</p>
<a
href=
"https://liberapay.com/yPhil/donate"
id=
"beggarOkButton"
class=
"ui-button ui-corner-all unique translate"
data-title=
"Donate"
title=
"Donate"
data-content=
"Donate"
>
Donate
</a>
<button
id=
"beggarTourButton"
class=
"ui-button ui-corner-all unique translate"
data-title=
"Take the tour"
title=
"Take the tour"
data-content=
"Take the tour"
>
Take the tour
</button>
</div>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment