Skip to content

Commit

Permalink
chore: zpretty
Browse files Browse the repository at this point in the history
  • Loading branch information
gforcada committed Mar 25, 2023
1 parent 4a53c14 commit 315b88f
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 41 deletions.
46 changes: 27 additions & 19 deletions plone/schema/browser/templates/email_display.pt
Original file line number Diff line number Diff line change
@@ -1,24 +1,32 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
tal:omit-tag="">
<span id="" class=""
tal:attributes="id view/id;
class view/klass;
style view/style;
title view/title;
lang view/lang;
onclick view/onclick;
ondblclick view/ondblclick;
onmousedown view/onmousedown;
onmouseup view/onmouseup;
onmouseover view/onmouseover;
onmousemove view/onmousemove;
onmouseout view/onmouseout;
onkeypress view/onkeypress;
onkeydown view/onkeydown;
onkeyup view/onkeyup">
<a tal:condition="view/value"
tal:omit-tag=""
>
<span class=""
id=""
tal:attributes="
id view/id;
class view/klass;
style view/style;
title view/title;
lang view/lang;
onclick view/onclick;
ondblclick view/ondblclick;
onmousedown view/onmousedown;
onmouseup view/onmouseup;
onmouseover view/onmouseover;
onmousemove view/onmousemove;
onmouseout view/onmouseout;
onkeypress view/onkeypress;
onkeydown view/onkeydown;
onkeyup view/onkeyup;
"
>
<a tal:condition="view/value"
tal:content="view/value"
tal:attributes="href string:mailto:${view/value}"/>
tal:attributes="
href string:mailto:${view/value};
"
></a>
</span>
</html>
46 changes: 27 additions & 19 deletions plone/schema/browser/templates/uri_display.pt
Original file line number Diff line number Diff line change
@@ -1,24 +1,32 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
tal:omit-tag="">
<span id="" class=""
tal:attributes="id view/id;
class view/klass;
style view/style;
title view/title;
lang view/lang;
onclick view/onclick;
ondblclick view/ondblclick;
onmousedown view/onmousedown;
onmouseup view/onmouseup;
onmouseover view/onmouseover;
onmousemove view/onmousemove;
onmouseout view/onmouseout;
onkeypress view/onkeypress;
onkeydown view/onkeydown;
onkeyup view/onkeyup">
<a tal:condition="view/value"
tal:omit-tag=""
>
<span class=""
id=""
tal:attributes="
id view/id;
class view/klass;
style view/style;
title view/title;
lang view/lang;
onclick view/onclick;
ondblclick view/ondblclick;
onmousedown view/onmousedown;
onmouseup view/onmouseup;
onmouseover view/onmouseover;
onmousemove view/onmousemove;
onmouseout view/onmouseout;
onkeypress view/onkeypress;
onkeydown view/onkeydown;
onkeyup view/onkeyup;
"
>
<a tal:condition="view/value"
tal:content="view/value"
tal:attributes="href view/value"/>
tal:attributes="
href view/value;
"
></a>
</span>
</html>
4 changes: 1 addition & 3 deletions plone/schema/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
>

<!-- Configure widgets -->
<include
package=".browser"
/>
<include package=".browser" />

<!-- Configure plone.supermodel support if available -->
<configure zcml:condition="installed plone.supermodel">
Expand Down

0 comments on commit 315b88f

Please sign in to comment.