From e9643c4783cf156d3d2b4aaf75b0f90aaf333d4a Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Thu, 15 Jun 2017 07:16:05 +0530 Subject: [PATCH 1/2] Deleted django.mo of hosting --- hosting/locale/de/LC_MESSAGES/django.mo | Bin 5794 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 hosting/locale/de/LC_MESSAGES/django.mo diff --git a/hosting/locale/de/LC_MESSAGES/django.mo b/hosting/locale/de/LC_MESSAGES/django.mo deleted file mode 100644 index 1a9bb493dec8c012747c53e56f2afdd0f4aa65c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5794 zcmb7{X^b346~~JlKpe}AHtQqUS=+H^cW3R5cXl^>IktjO&rI!1XJ)!5 zeeAO9NC*)Lgb0a(Kt_T{k)jCkAwnPmNRB`(por@WAwnPpJ|Kl4K#@S?ON99SyL_AFNZ&Y*Td)G zZuoone)!h6Q=oibE!1D=7> z%Q>j=&ck=ZZ@~A#=b+^HZSnqPsPSKelK*umd9Py7cfsqS-tUB(cNf(9_7?SnP~Y8M z)K5W%Ff&l!-(Ro?rH_Z9*7rEP5k3hu-*d(LpF(~28~6eEGSoUQL;2!%sQx!W$*~Kn z{~){pju!Qg!}m~s5K3>Kh5GKXqJADqjwhk~;al*-@aItLd<9BxuR=sHSF%WrcOAS3 z-U6k^2cg#c8Aw<22)qt{6>8pZ!sGBeQ1ko?o`%<;j1R#@DES|T((`$!@4gP(Z^6Id zcIw+%d}aqIJMMxv!(q4+E<(xu1t@vH1k3OV$du+!P;&hp@-zS8rg5*KQS$GA($DUK z`=Qo*7;3zGA)=W3i}w#e$r(ZE@m$gVc_=+R4mHmcke_*mo8#(5EH zoP~-d#%8&j5KLRgDXqIMf zhSKK&D7_39^>O%K>ZhUnF@W;xN1)dEG}L!Lg0kzcq1N{Y$Q0(!P;$NoHQ#n7*ShvW z`P&gFdCqdv`w)H(J_@D38xR^*m;+F9jzNYpr=jL)!%x5j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WP(sTo4dWm0t5Cto%q44jT?JvnjNwgvlA& zk{Q{YtSd0HsLdxR@OWxVPNtT4ZIVgY%X{L~t8^s$xF~RBhBV8_l_(pQ6x2l(`TC;# z9J8rTd{k0Cm1?!h$SJ*RO(JoN2b4BB4LTlJH*rxJ5I*OPRd zsdUq#I>jKzw9?#s>eepomaZF)Q&O$trHhSBiY=?|+d~OR={d1WE^21#IhLs^_pqMl z6=^P4O_sp*XuHgY9i`R68MD-V8bNTl#WZN^v`1H^rrelW3YUl4)wJoBF-BpQzBdP5 z*OAuB>klE&u0s$#6XY26`%b&m{k!>+$s ze}Psn*-LNGG^G?z%#*805n4DKC%{|S3F~T+2G=#fkzhl(cy>U6X70Y{7MgiY9p)-KfB#3c6lhPhX_ zG@o93s2=Q3x(vaBSXq*979es#Dxo2!NWT%%c`enP}fdtDPCW|6#&j#Aq ze(rH^vc!Pn2rk&=j}+mbKVmvDWJ?-$%bwQIUsRqTEKz768-F?FY|J0IS~J`1iOkwR z)#OK Date: Thu, 15 Jun 2017 07:30:47 +0530 Subject: [PATCH 2/2] Tentative fix for error 500 on order details page --- hosting/templates/hosting/order_detail.html | 14 ++++++++++++++ hosting/templates/hosting/orders.html | 3 +-- hosting/views.py | 11 +++++++++-- opennebula_api/models.py | 5 +++-- 4 files changed, 27 insertions(+), 6 deletions(-) diff --git a/hosting/templates/hosting/order_detail.html b/hosting/templates/hosting/order_detail.html index 7705a006..5745a93c 100644 --- a/hosting/templates/hosting/order_detail.html +++ b/hosting/templates/hosting/order_detail.html @@ -4,7 +4,20 @@ {% block content %}
+ {% if messages %}
+
+
+
+ {% for message in messages %} + {{ message }} + {% endfor %} +
+
+
+ {% endif %} + {% if not error %} +

{% trans "Invoice"%}

{% trans "Order #"%} {{order.id}}

@@ -66,5 +79,6 @@ {% endif %}
+ {% endif %}
{%endblock%} diff --git a/hosting/templates/hosting/orders.html b/hosting/templates/hosting/orders.html index 42b77e88..b52e7fc0 100644 --- a/hosting/templates/hosting/orders.html +++ b/hosting/templates/hosting/orders.html @@ -33,9 +33,8 @@ {% endif %} -