try / except pour démarrer sans Solr.
[Plinn.git] / www / configureRegistrationTool.zpt
1 <tal:header tal:replace="structure here/manage_page_header">header</tal:header>
2 <tal:tabs tal:replace="structure here/manage_tabs">tabs</tal:tabs>
3 <div i18n:domain="plinn">
4 <h3 i18n:translate="">Configure <code i18n:name="portal_calendar">portal_registration</code> Tool</h3>
5 <br />
6 <h4 i18n:translate="">Select registration mode</h4>
7 <form action="." method="post" tal:attributes="action here/absolute_url">
8 <label><input type="radio" name="registration_mode" value="anonymous" tal:attributes="checked python:here.getMode() == 'anonymous'" /> <span i18n:translate="" tal:omit-tag="">Anonymous registration</span></label><br />
9 <label><input type="radio" name="registration_mode" value="manager" tal:attributes="checked python:here.getMode() == 'manager'" /> <span i18n:translate="" tal:omit-tag="">Portal manager registration</span></label><br />
10 <div>
11 <label><input type="radio" name="registration_mode" value="reviewed" tal:attributes="checked python:here.getMode() == 'reviewed'" /> <span i18n:translate="" tal:omit-tag="">Reviewed registration</span></label><br />
12 <div style="margin-left : 1em">
13 <em i18n:translate="" >Workflow chain</em><br />
14 <input type="text" name="chain" size="50" value="workflow chain" tal:attributes="value here/getWfChain" />
15 </div>
16 </div>
17 <h5 style="color : red" i18n:translate=""
18 tal:condition="here/roleMappingMismatch">Role mapping mismatch : click Validate to solve this problem !</h5>
19 <input type="submit" name="configureTool:method" value="Validate" i18n:attributes="value" />
20 </form>
21 </div>
22 <tal:footer tal:replace="structure here/manage_page_footer">footer</tal:footer>
23
24