[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] branch master updated: remove artificial line
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] branch master updated: remove artificial line striker |
Date: |
Tue, 19 Dec 2017 14:01:40 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new 9db3307 remove artificial line striker
9db3307 is described below
commit 9db330755e89eb233900474fcf454320eb5f678c
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Dec 19 14:01:16 2017 +0100
remove artificial line striker
---
talerbank/app/templates/profile_page.html | 3 ---
talerbank/app/urls.py | 1 -
talerbank/app/views.py | 8 --------
3 files changed, 12 deletions(-)
diff --git a/talerbank/app/templates/profile_page.html
b/talerbank/app/templates/profile_page.html
index 07a4dcf..6b465a0 100644
--- a/talerbank/app/templates/profile_page.html
+++ b/talerbank/app/templates/profile_page.html
@@ -179,9 +179,6 @@
cancelled
{% endif %}">{{ item.subject }}
</td>
- <td>
- <a href="/strike?row_id={{ item.row_id }}">strike this line</a>
- </td>
</tr>
{% endfor %}
</tbody>
diff --git a/talerbank/app/urls.py b/talerbank/app/urls.py
index 6e97b89..c44c7c3 100644
--- a/talerbank/app/urls.py
+++ b/talerbank/app/urls.py
@@ -29,7 +29,6 @@ urlpatterns = [
url(r'^profile$', views.profile_page, name="profile"),
url(r'^history$', views.serve_history, name="history"),
url(r'^reject$', views.reject, name="reject"),
- url(r'^strike$', views.strike, name="strike"),
url(r'^withdraw$', views.withdraw_nojs, name="withdraw-nojs"),
url(r'^public-accounts$', views.serve_public_accounts,
name="public-accounts"),
url(r'^public-accounts/(?P<name>[a-zA-Z0-9 ]+)$',
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 7ad8f45..a231402 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -519,14 +519,6 @@ def auth_and_login(request):
username=username,
password=password)
address@hidden
-def strike(request):
- # FIXME: to be soon removed
- trans = BankTransaction.objects.get(id=request.GET["row_id"])
- trans.cancelled = True
- trans.save()
- return redirect("profile")
-
@transaction.atomic
@csrf_exempt
@require_http_methods(["PUT", "POST"])
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-bank] branch master updated: remove artificial line striker,
gnunet <=