[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant-frontends] branch master updated: Spacing.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant-frontends] branch master updated: Spacing. |
Date: |
Mon, 27 Feb 2017 15:50:56 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant-frontends.
The following commit(s) were added to refs/heads/master by this push:
new 398847c Spacing.
398847c is described below
commit 398847ceddc887bee965be7bdc76b968844de48b
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Feb 27 15:50:44 2017 +0100
Spacing.
---
talerfrontends/blog/blog.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/talerfrontends/blog/blog.py b/talerfrontends/blog/blog.py
index 979cf41..0fa758c 100644
--- a/talerfrontends/blog/blog.py
+++ b/talerfrontends/blog/blog.py
@@ -56,6 +56,7 @@ ARTICLE_AMOUNT = dict(value=0, fraction=10000000,
currency=CURRENCY)
app.config.from_object(__name__)
+
@app.context_processor
def utility_processor():
def url(my_url):
@@ -67,6 +68,7 @@ def utility_processor():
def index():
return flask.render_template('templates/index.html',
merchant_currency=CURRENCY, articles=articles.values())
+
@app.route('/javascript')
def javascript_licensing():
return flask.render_template('templates/javascript.html')
@@ -104,13 +106,11 @@ def generate_contract():
return flask.jsonify(**proposal_resp)
-
@app.route("/cc-payment/<name>")
def cc_payment(name):
return flask.render_template('templates/cc-payment.html',
article_name=name)
-
@app.route("/essay/<name>")
@app.route("/essay/<name>/data/<data>")
def article(name, data=None):
@@ -156,6 +156,7 @@ def pay():
return r.text, 200
+
@app.route("/history")
def history():
days = expect_parameter_int("days")
@@ -175,10 +176,10 @@ def history():
@app.route("/backoffice")
def track():
- # return minimal HTML+JavaScript for calling /history
response =
flask.make_response(flask.render_template("templates/backoffice.html"))
return response
+
@app.route("/track/order")
def track_order():
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant-frontends] branch master updated: Spacing.,
gnunet <=