Skip to content

Commit

Permalink
Merge pull request #5 from Private-Net-work/develop
Browse files Browse the repository at this point in the history
v2.1.0
  • Loading branch information
nawinds authored Jul 21, 2022
2 parents 586647e + 0561e34 commit 9b34e60
Show file tree
Hide file tree
Showing 26 changed files with 5,281 additions and 523 deletions.
7 changes: 6 additions & 1 deletion babel.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
[jinja2: **/templates/**.jinja2]
[jinja2: **/templates/disposable_notes/**.jinja2]
[jinja2: **/templates/**.js]
[python: config.py]
[python: app.py]
[python: modules/logger.py]
[python: blueprints/**.py]
extensions = jinja2.ext.autoescape,jinja2.ext.with_
extensions = jinja2.ext.autoescape,jinja2.ext.with_
# Babel docs:
# pybabel extract -F babel.cfg -k lazy_gettext -o messages.pot .
# pybabel update -i messages.pot -d translations
# pybabel compile -d translations
15 changes: 15 additions & 0 deletions blueprints/notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,18 @@ def formatting():
@notes_bp.route('/support')
def support():
return render_template("disposable_notes/support.jinja2", year=datetime.datetime.now().year)


@notes_bp.route('/donate')
def donate():
btc = "bc1qceazcfujhdatpgpxnpdy7aj5wyh8ljxsxnz60e"
eth = "0xa281cC5Eb0c6fCCfc1120209297E504170EAC06a"
trx = "TTokMLQwvrm3FfH6LQaEY46vCYGRCJJXcm"
bnb = "bnb1a7prktewjjejm98u7ysdpdzgvukr2sges6xx3m"
xrp = "rnwWE36sYAscpmUY5bgR9gGGfTHmtRf8Bw"
doge = "DR2DhCXnW6T9QK8K6yoqG64Ro1yT7HoWDR"
ltc = "ltc1q6nur0ym53vemtfs0wrsm6skktln4amfs6kgzsk"
xmr = "8Agen4JiAMYEnwyhyyDKkZLZUuhVFwQqiTYGuocJ15svBv3FBg2gzzyjU6D5tCWhZcDKxZb8VQ2zm1gZXNx1H2n9Li6HmyF"
return render_template("disposable_notes/donate.jinja2",
btc=btc, eth=eth, trx=trx, bnb=bnb, xrp=xrp, doge=doge, ltc=ltc, xmr=xmr,
year=datetime.datetime.now().year)
Loading

0 comments on commit 9b34e60

Please sign in to comment.