--- a/src/pyams_portal/zmi/templates/template-properties.pt Wed Sep 26 18:35:37 2018 +0200
+++ b/src/pyams_portal/zmi/templates/template-properties.pt Fri Sep 28 09:24:42 2018 +0200
@@ -55,7 +55,7 @@
value="shared"
id="shared_template_mode"
name="template_mode"
- checked="${'checked' if content.use_shared_template else None}" />
+ checked="${'checked' if not content.inherit_parent and content.use_shared_template else None}" />
<i></i><span i18n:translate="">Use shared template</span>
</label>
</div>
@@ -75,7 +75,7 @@
value="local"
id="local_template_mode"
name="template_mode"
- checked="${'checked' if content.use_local_template else None}" />
+ checked="${'checked' if not content.inherit_parent and content.use_local_template else None}" />
<i></i><span i18n:translate="">Use custom local template</span>
</label>
</div>