Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
petschki committed Nov 14, 2024
1 parent 2e858cf commit 8919124
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
If there is a `metal:define-macro="main"` in the template
it takes over the complete representation of the existing content
-->
<div class="${view/tile_class}" tal:condition="main_macro">
<div class="${view/tile_class}"
tal:condition="main_macro"
>
<div metal:use-macro="main_macro"
tal:define="
view nocall:view/content_view;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
>
<body>

<metal:block define-macro="main">
<h1 tal:condition="show_title" i18n:translate="">Custom title</h1>
<span i18n:translate="">This is a complete custom representation of an existing content</span>
<div tal:condition="show_text"
tal:replace="context/text/output"
></div>
</metal:block>
<metal:block define-macro="main">
<h1 tal:condition="show_title"
i18n:translate=""
>Custom title</h1>
<span i18n:translate="">This is a complete custom representation of an existing content</span>
<div tal:condition="show_text"
tal:replace="context/text/output"
></div>
</metal:block>

</body>
</html>

0 comments on commit 8919124

Please sign in to comment.