-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove newsitem template override, use default dexterity view for new… (
#110) * remove newsitem template override, use default dexterity view for newsitem in backend * black * zpretty * tests * tests
- Loading branch information
Showing
7 changed files
with
72 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<html xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal" | ||
xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
lang="en" | ||
metal:use-macro="context/@@main_template/macros/master" | ||
xml:lang="en" | ||
i18n:domain="plone" | ||
> | ||
<body> | ||
|
||
<metal:main fill-slot="main"> | ||
|
||
<h1 class="documentFirstHeading" | ||
tal:content="context/Title" | ||
></h1> | ||
|
||
<p class="documentDescription" | ||
tal:content="context/Description" | ||
></p> | ||
|
||
<tal:block repeat="widget view/widgets/values"> | ||
<div class="field" | ||
tal:condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',)" | ||
> | ||
<label tal:content="widget/label"></label> | ||
<br /> | ||
<div tal:content="structure widget/render"></div> | ||
</div> | ||
</tal:block> | ||
|
||
<fieldset tal:repeat="group view/groups" | ||
tal:attributes=" | ||
id python:''.join((group.prefix, 'groups.', group.__name__)).replace('.', '-'); | ||
" | ||
> | ||
<legend tal:content="group/label"></legend> | ||
<div class="field" | ||
tal:repeat="widget group/widgets/values" | ||
> | ||
<label tal:content="widget/label"></label> | ||
<br /> | ||
<div tal:content="structure widget/render"></div> | ||
</div> | ||
</fieldset> | ||
|
||
</metal:main> | ||
|
||
</body> | ||
</html> |
22 changes: 0 additions & 22 deletions
22
src/redturtle/volto/browser/overrides/plone.app.contenttypes.browser.templates.newsitem.pt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters