Commit 005d50ee authored by Fabien Morin's avatar Fabien Morin

display login form only if the user is an anonymous, else, display a field to search an application

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23970 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 84a82483
......@@ -66,7 +66,6 @@ request=context.REQUEST\n
message = \'\'\n
\n
# add the attachments :\n
request = context.REQUEST\n
translateString = context.Base_translateString\n
result, mode = context.Base_edit(\'PDFDocument_viewAttachmentReportSection\', silent_mode=1, field_prefix=\'your_\')\n
attachment_count = 0\n
......
......@@ -53,7 +53,7 @@ Description:\n
\n
<div class="tabber">\n
\n
<div class="tabbertab">\n
<div class="tabbertab" tal:condition="here/portal_membership/isAnonymousUser">\n
<h2 i18n:translate="" i18n:domain="ui">Track Application</h2>\n
<div>\n
<img alt="Track Application Logo" src="img/track_application.png"/>\n
......@@ -75,6 +75,28 @@ Description:\n
<div class="clear"></div>\n
</div>\n
\n
\n
<div class="tabbertab" tal:condition="not: here/portal_membership/isAnonymousUser">\n
<h2 i18n:translate="" i18n:domain="ui">Track Application</h2>\n
<div>\n
<img alt="Track Application Logo" src="img/track_application.png"/>\n
<div class="fields">\n
<p><tal:block i18n:translate="" i18n:domain="ui">Application Number</tal:block></p>\n
</div>\n
<div class="fields">\n
<p><input type="text" size="20" name="application_number" autocomplete="off"/></p>\n
</div>\n
</div>\n
<div class="clear"></div>\n
<div id="track_button">\n
<input i18n:domain="ui" i18n:attributes="value" type="submit"\n
name="EGov_goToDocument:method"\n
value="Track"/>\n
</div>\n
<div class="clear"></div>\n
</div>\n
\n
\n
<div class="tabbertab">\n
<h2 i18n:translate="" i18n:domain="ui">New Application</h2>\n
<div>\n
......
372
\ No newline at end of file
373
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment