File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 11<%! from django.utils.translation import gettext as _ % >
22< % ! from django.utils.translation import activate % >
3+ < % ! from django.conf import settings % >
34< % ! import distutils % >
45< % ! import re % >
56< %
@@ -795,6 +796,13 @@ nau_course_certificate_version = hashlib.sha1(json.dumps(nau_course_certificate_
795796 }
796797
797798 @media all {
799+ .ednxt-certificate__qrcode {
800+ width : 3cm ;
801+ height : 3cm ;
802+ position : absolute ;
803+ left : 5.2cm ;
804+ bottom : 3.5cm ;
805+ }
798806 .ednxt-certificate__side_message {
799807 color : ${context.get(' certificate_side_message_color' , context.get(' footer_information_color' , ' white' ))};
800808 }
@@ -1081,6 +1089,8 @@ nau_course_certificate_version = hashlib.sha1(json.dumps(nau_course_certificate_
10811089 </div >
10821090 % endif
10831091
1092+ <img class =" ednxt-certificate__qrcode" src =" https://qrcode.tec-it.com/API/QRCode?color=ffffff&size=small&quietzone=0&errorcorrection=L&istransparent=True&data=${settings.LMS_ROOT_URL}/certificates/${certificate_id_number}" alt =" " />
1093+
10841094 <div class =" ednxt-certificate__footer-information" >
10851095 <div class =" ednxt-certificate__footer-information_logo" >
10861096 <h3 class =" sr-only" >${ _(" Supported by the following organizations" )} </h3 >
@@ -1095,7 +1105,7 @@ nau_course_certificate_version = hashlib.sha1(json.dumps(nau_course_certificate_
10951105 </div >
10961106 </div >
10971107 <div class =" ednxt-certificate__footer-link" >
1098- <a href =" https://lms.nau.edu.pt /certificates/${certificate_id_number}" >https://lms.nau.edu.pt /certificates/${ certificate_id_number} </a >
1108+ <a href =" ${settings.LMS_ROOT_URL} /certificates/${certificate_id_number}" >${ settings. LMS_ROOT_URL } /certificates/${ certificate_id_number} </a >
10991109 </div >
11001110 <div class =" ednxt-certificate__footer-certification-information" >
11011111 ${ footer_note_certification_information}
You can’t perform that action at this time.
0 commit comments