Skip to content

Commit

Permalink
cleanup file/image_input.pt
Browse files Browse the repository at this point in the history
  • Loading branch information
petschki committed Jul 28, 2023
1 parent 3c15f00 commit 2aa0202
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions plone/app/z3cform/templates/file_input.pt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<div id="${view/id}"
tal:define="
<div tal:define="
download_url view/download_url;
exists python: view.value is not None;
action view/action;
Expand All @@ -24,7 +23,7 @@
/>
<span>
<tal:i18n i18n:translate="file_already_uploaded">File already uploaded:</tal:i18n>
${view/value/filename}
${filename}
</span>
</tal:if>
<span tal:condition="python:exists and download_url and action=='nochange'">
Expand Down
5 changes: 2 additions & 3 deletions plone/app/z3cform/templates/image_input.pt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<div id="${view/id}"
tal:define="
<div tal:define="
download_url view/download_url;
exists python: view.value is not None;
action view/action;
Expand All @@ -24,7 +23,7 @@
/>
<span>
<tal:i18n i18n:translate="image_already_uploaded">Image already uploaded:</tal:i18n>
${view/value/filename}
${filename}
</span>
</tal:if>
<span tal:condition="python:exists and download_url and action=='nochange'">
Expand Down

0 comments on commit 2aa0202

Please sign in to comment.