]> git.parisson.com Git - teleforma.git/commitdiff
Add uuid
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 25 Jan 2018 23:35:44 +0000 (00:35 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 25 Jan 2018 23:35:44 +0000 (00:35 +0100)
teleforma/exam/templates/exam/script_detail.html

index 7e27aba6a91aa0dc5fd51c79a59e0076b8e9043c..a931a57e2411240cf7eca91d3355786a12ee6501 100644 (file)
 <br /><br />
 <div class="media">
  <div class="script">
-    <iframe id="box-iframe" style="position:fixed; top:14%; left:0px; bottom:0px; right:0px; width:100%; height:85%; border:none; margin:0; padding:0; z-index:0;" src="{% if user.quotas.all or user.is_superuser %}{{ script_service_url }}?url={{ script.safe_url }}?username=Examinator{% else %}{{ script_service_url }}?url={{ script.safe_url }}?username={{ user.username }}{% endif %}">
+    <iframe id="box-iframe" style="position:fixed; top:14%; left:0px; bottom:0px; right:0px; width:100%; height:85%; border:none; margin:0; padding:0; z-index:0;" src="{% if user.quotas.all or user.is_superuser %}{{ script_service_url }}?url={{ script.safe_url }}?username=Examinator?uuid={{ script.uuid }}{% else %}{{ script_service_url }}?url={{ script.safe_url }}?username={{ user.username }}?uuid={{ script.uuid }}{% endif %}">
     </iframe>
  </div>
 </div>