<html>
<head>
{% if RAVEN_CONFIG %}
- <script src="http://cdn.ravenjs.com/1.1.7/jquery,native/raven.min.js"></script>
+ <script src="https://cdn.ravenjs.com/1.1.7/jquery,native/raven.min.js"></script>
<script>
Raven.config('{{RAVEN_CONFIG.SENTRY_URL}}', {{RAVEN_CONFIG.SETTINGS|default:'{}'}}).install();
{% if request.user.is_authenticated %}
properties: [
{name: 'version', label: '{% trans 'Version' %}'},
{name: 'stage', label: '{% trans 'Stage' %}'},
- {name: 'assignment', label: '{% trans 'Assignment' %}'},
+ {name: 'assignment', label: '{% trans 'Assignment' %}'}
]
},
]},
{key: 'creator.scenario'},
{key: 'creator.methodologist'},
- {key: 'description', values: ['Publikacja zrealizowana w ramach projektu Cyfrowa Przyszłość, dofinansowanego ze środków Ministerstwa Kultury i Dziedzictwa Narodowego']},
+ {key: 'creator.expert'},
+ {key: 'creator.textbook'},
+ {key: 'description', values: ['Publikacja zrealizowana w ramach projektu Cyfrowa Przyszłość, dofinansowanego ze środków Ministerstwa Kultury i Dziedzictwa Narodowego', 'Publikacja zrealizowana w ramach projektu Cybernauci - kompleksowy projekt kształtowania bezpiecznych zachowań w sieci, finansowanego ze środków Ministra Edukacji Narodowej.']},
{key: 'type', values: ['course', 'synthetic', 'project']},
{key: 'subject.curriculum', values: [
'2012/0/wychowanie-przedszkolne/c1',
'2012/I/ZAJECIA_KOMPUTEROWE/t4',
'2012/I/ZAJECIA_KOMPUTEROWE/t5'
]},
+ {key: 'subject.curriculum.new'},
{key: 'subject.competence', values: [
'Anonimowość - Bezpieczeństwo w komunikacji i mediach',
'Bezpieczeństwo komunikacji, pracy i transakcji - Bezpieczeństwo w komunikacji i mediach',
documentDiffUrl: function(id) { return '/editor/diff/' + id + '/'; },
documentRestoreUrl: function(id) { return '/editor/revert/' + id + '/'},
documentAttachmentUrl: function(attachmentName) {
- return '{{MEDIA_URL}}{{IMAGE_DIR}}{{slug}}/' + attachmentName;
+ return '{{MEDIA_URL}}{{IMAGE_DIR}}{{gallery}}/' + attachmentName;
},
documentUrl: function(id, version) {
- var url = '{% url 'wiki_editor' slug %}'
+ var url = '{% url 'wiki_editor' slug %}';
if(version) {
url = url + '?version=' + version;
}
{% for value,text in tags %}
{value:'{{value|default:''}}', text:'{{text}}'} {% if not forloop.last %}, {% endif %}
{% endfor %}
- ], description: '{{forms.text_save.stage_completed.help_text}}'},
+ ], description: '{{forms.text_save.stage_completed.help_text}}'}
],
content_field_name: '{{forms.text_save.text.html_name}}',
version_field_name: '{{forms.text_save.parent_revision.html_name}}'
};
{% if can_pubmark %}
- config.documentSaveForm.fields.push(
- {label: '{{forms.text_save.publishable.label}}', name: '{{forms.text_save.publishable.html_name}}', type: 'checkbox', description: '{{forms.text_save.publishable.help_text}}'}
- );
+ config.documentSaveForm.fields.push({
+ label: '{{forms.text_save.publishable.label}}',
+ name: '{{forms.text_save.publishable.html_name}}',
+ type: 'checkbox',
+ description: '{{forms.text_save.publishable.help_text}}',
+ checked: {{ forms.text_save.publishable.field.initial|yesno:"true,false" }}
+ });
+ config.documentSaveForm.fields.push({
+ label: '{{forms.text_save.for_cybernauts.label}}',
+ name: '{{forms.text_save.for_cybernauts.html_name}}',
+ type: 'checkbox',
+ description: '{{forms.text_save.for_cybernauts.help_text}}',
+ checked: {{ forms.text_save.for_cybernauts.field.initial|yesno:"true,false" }}
+ });
{% endif %}
{% if not request.user.is_authenticated %}