summaryrefslogtreecommitdiff
path: root/tools/mmd/MmdWidgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mmd/MmdWidgets.py')
-rw-r--r--tools/mmd/MmdWidgets.py18
1 files changed, 16 insertions, 2 deletions
diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py
index cfd4a7d..ec77eb0 100644
--- a/tools/mmd/MmdWidgets.py
+++ b/tools/mmd/MmdWidgets.py
@@ -66,7 +66,12 @@ def registerFormWidget ():
def registerWidget ():
html = '''
<h3>Thank you for registering!</h3>
- You will receive an email containing a link to confirm your registration. Please use this link within 24 hours to complete registration.
+ <div>
+ You will receive an email containing a link to complete your registration. This link will stay valid for 24 hours.
+ </div>
+ <div>
+ Regards from the MURSAT1 team
+ </div>
'''
return html
@@ -193,8 +198,17 @@ def indexWidget (lcol, rcol, status, debug_info = False):
Email: {2}
Status: {3}
Expires: {4}
+ Renewal: {5}
+ Now: {6}
</pre>
- '''.format (debug_info.session_id, debug_info.ip, debug_info.user.email, debug_info.status, debug_info.expires)
+ '''.format (
+ debug_info.session_id,
+ debug_info.ip,
+ debug_info.user.email,
+ debug_info.status,
+ debug_info.expires,
+ debug_info.renewal,
+ time.strftime ('%s'))
else:
debug = ''