summaryrefslogtreecommitdiff
path: root/certificate
diff options
context:
space:
mode:
Diffstat (limited to 'certificate')
-rw-r--r--certificate/certificate_template/text.pngbin7026 -> 7434 bytes
-rw-r--r--certificate/views.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/certificate/certificate_template/text.png b/certificate/certificate_template/text.png
index 307708b..a07cc2c 100644
--- a/certificate/certificate_template/text.png
+++ b/certificate/certificate_template/text.png
Binary files differ
diff --git a/certificate/views.py b/certificate/views.py
index e9324b4..5be6f0f 100644
--- a/certificate/views.py
+++ b/certificate/views.py
@@ -68,7 +68,7 @@ def download(request):
id = int(user.id)
hexa = hex(id).replace('0x','').zfill(6).upper()
serial_no = '{0}{1}{2}{3}'.format(purpose, year, hexa, type)
- qrcode = 'NAME: {0} SERIAL NO: {1}'.format(name, serial_no)
+ qrcode = 'NAME: {0}; SERIAL-NO: {1}; '.format(name, serial_no)
file_name = '{0}{1}'.format(email,id)
file_name = file_name.replace('.', '')
try: