client/app/annotationclient.html
changeset 42 926f0426ce78
parent 36 5d392dea4f49
child 48 a7abfcfd7959
equal deleted inserted replaced
41:69a7e0b101de 42:926f0426ce78
    93     angular.module("mons")
    93     angular.module("mons")
    94         .value('context', {
    94         .value('context', {
    95             {% if logging %}logging: true,{% endif %}
    95             {% if logging %}logging: true,{% endif %}
    96             urls: {
    96             urls: {
    97                 dataUrl: "{{ config['STATIC_URL'] }}/data/categories.json"
    97                 dataUrl: "{{ config['STATIC_URL'] }}/data/categories.json"
    98             }
    98             },
       
    99             categories_json: '{% if categories_json %}{{categories_json}}{% endif %}',
       
   100             {% if event_code %}event_code: "{{event_code}}",{% endif %}
    99         });
   101         });
   100   </script>
   102   </script>
   101 </body>
   103 </body>
   102 </html>
   104 </html>