-
Notifications
You must be signed in to change notification settings - Fork 239
Expand file tree
/
Copy pathcontent_editor.html
More file actions
39 lines (35 loc) · 1.58 KB
/
content_editor.html
File metadata and controls
39 lines (35 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{% load i18n %}
{% load feincms_admin_tags %}
<div id="feincmsmain_wrapper">
{% for region in original.template.regions %}
<div class="navi_tab" id="{{ region.key }}_tab">{{ region.title }}</div>
{% endfor %}
<div id="feincmsmain">
{% for region in original.template.regions %}
<div id="{{ region.key }}_body" class="panel">
<div class="empty-machine-msg">
{% if adding_translation and forloop.first %}
<div>
<p>
<input type="checkbox" name="_copy_content_from_original" id="_copy_content_from_original" checked="checked" /> <label for="_copy_content_from_original">{% trans "Copy content from the original" %} ("{{ translation_of }}", {% trans translation_of.get_language_display %})</label>
</p>
</div>
{% else %}
{% trans "Region empty" %}
{% endif %}
</div>
<div class="empty-machine-msg" style="margin-left:20px; margin-top:20px;">
{% if region.inherited %}
{% trans "Content from the parent site is automatically inherited. To override this behaviour, add some content." %}
{% endif %}
</div>
<div class="order-machine"></div>
<div class="machine-control">
<div class="control-unit">
{% show_content_type_selection_widget region %}
</div>
</div>
</div>
{% endfor %}
</div>
</div>