178 lines
6.3 KiB
XML
178 lines
6.3 KiB
XML
<html i18n:domain="loops">
|
|
|
|
|
|
<metal:block define-macro="register">
|
|
<metal:data use-macro="view/form_macros/edit">
|
|
<metal:custom fill-slot="custom_header">
|
|
<tbody>
|
|
<tr><td colspan="5">
|
|
<tal:info content="structure item/infoText" />
|
|
</td></tr>
|
|
</tbody>
|
|
</metal:custom>
|
|
</metal:data>
|
|
</metal:block>
|
|
|
|
|
|
<metal:block define-macro="confirm">
|
|
<metal:data use-macro="view/form_macros/edit">
|
|
<metal:custom fill-slot="custom_header">
|
|
<tbody>
|
|
<tr><td colspan="5">
|
|
<tal:info content="structure item/infoText" />
|
|
</td></tr>
|
|
<tr><td colspan="5">
|
|
<input type="hidden" name="login"
|
|
tal:attributes="value item/data/loginName" />
|
|
<input type="hidden" name="id"
|
|
tal:attributes="value item/data/id" />
|
|
<table><tr>
|
|
<td i18n:translate="">Login Name</td>
|
|
<td tal:content="item/data/loginName" />
|
|
</tr></table>
|
|
</td></tr>
|
|
</tbody>
|
|
</metal:custom>
|
|
</metal:data>
|
|
</metal:block>
|
|
|
|
|
|
<metal:task define-macro="task">
|
|
<metal:data use-macro="view/concept_macros/conceptdata">
|
|
</metal:data>
|
|
</metal:task>
|
|
|
|
|
|
<metal:data define-macro="conceptdata">
|
|
<tal:person condition="item/person">
|
|
<metal:block use-macro="view/concept_macros/conceptdata">
|
|
<metal:block fill-slot="fields">
|
|
<metal:fields use-macro="view/concept_macros/conceptfields" />
|
|
<h2 i18n:translate="">Actions</h2>
|
|
<ul>
|
|
<li>
|
|
<a href="change_password.html"
|
|
i18n:translate="">Change Password</a></li>
|
|
<li tal:condition="python:item.globalOptions('organize.useFilters')">
|
|
<a href="edit_filters.html"
|
|
i18n:translate="">Edit Filters</a></li>
|
|
</ul>
|
|
</metal:block>
|
|
</metal:block>
|
|
</tal:person>
|
|
<tal:person condition="not:item/person">
|
|
<metal:block use-macro="item/concept_macros/macros/concepttitle" /><br />
|
|
<div i18n:translate="">No Person object associated with your user account.</div>
|
|
</tal:person>
|
|
</metal:data>
|
|
|
|
|
|
<metal:block define-macro="events">
|
|
<metal:title use-macro="item/conceptMacros/concepttitle" />
|
|
<div tal:repeat="related item/events">
|
|
<tal:child define="data related/data">
|
|
<h2 class="headline">
|
|
<a tal:define="start related/adapted/start"
|
|
tal:content="related/title"
|
|
tal:attributes="href python: '%s?cal_year=%s&cal_month=%s' %
|
|
(view.getUrlForTarget(related), start.year, start.month);" />
|
|
</h2>
|
|
<div class="description"
|
|
tal:define="description data/description"
|
|
tal:condition="description">
|
|
<span tal:content="structure python:
|
|
item.renderText(description, 'text/restructured')">Description</span>
|
|
</div>
|
|
<div class="text">
|
|
<span tal:content="data/start">2008-02-28</span> -
|
|
<span tal:content="data/end">2008-02-29</span>
|
|
</div>
|
|
</tal:child>
|
|
</div>
|
|
</metal:block>
|
|
|
|
|
|
<form metal:define-macro="create_followup_event" method="post"
|
|
id="dialog_form" class="dialog"
|
|
dojoType="dijit.form.Form"
|
|
tal:define="item nocall:item|nocall:view;
|
|
showState python:True">
|
|
<h2 tal:content="view/title"
|
|
i18n:translate="" />
|
|
<input type="hidden" name="form.action"
|
|
tal:attributes="value view/form_action" />
|
|
<metal:data use-macro="view/fieldRenderers/fields" />
|
|
<br />
|
|
<tal:tasks define="report item/reportInstance;
|
|
reportView nocall:item;
|
|
results reportView/results;
|
|
cb_name string:cb_select_tasks;">
|
|
<metal:results use-macro="view/resultsRenderer" />
|
|
</tal:tasks>
|
|
<metal:buttons use-macro="view/form_macros/buttons" />
|
|
</form>
|
|
|
|
|
|
<form metal:define-macro="send_email"
|
|
method="post" id="sendEmail_form" name="sendEmail" class="dialog"
|
|
dojoType="dijit.form.Form">
|
|
<div dojoType="dijit.layout.BorderContainer"
|
|
style="width: 65em; height: 600px">
|
|
<div dojoType="dijit.layout.ContentPane" region="center">
|
|
<input type="hidden" name="form.action" value="send_email" />
|
|
<div class="heading">
|
|
<span i18n:translate="">Send Link by Email</span> -
|
|
<span tal:content="view/target/title"></span></div>
|
|
<metal:content define-macro="mail_content">
|
|
<div>
|
|
<label i18n:translate="" for="subject">Subject</label>
|
|
<div>
|
|
<input name="subject" id="subject" style="width: 60em"
|
|
dojoType="dijit.form.ValidationTextBox" required
|
|
tal:attributes="value view/subject" /></div>
|
|
</div>
|
|
<div>
|
|
<label i18n:translate="" for="mailbody">Mail Body</label>
|
|
<div>
|
|
<textarea name="mailbody" cols="80" rows="4" id="mailbody"
|
|
dojoType="dijit.form.SimpleTextarea" style="width: 60em"
|
|
tal:attributes="rows view/contentHeight|string:4"
|
|
tal:content="view/mailBody"></textarea></div>
|
|
</div>
|
|
</metal:content>
|
|
<div>
|
|
<label i18n:translate="">Recipients</label>
|
|
<div tal:repeat="member view/members">
|
|
<input type="checkbox" name="recipients:list"
|
|
tal:attributes="value member/email" />
|
|
<span tal:content="member/title">Johnny</span>
|
|
(<span tal:content="member/email">Johnny</span>)
|
|
</div>
|
|
<div style="color: grey">
|
|
<input type="checkbox"
|
|
onClick="p = document.forms.sendEmail['recipients:list'];
|
|
for (i in p) p[i].checked=this.checked;" />
|
|
<span i18n:translate="">Toggle all</span></div>
|
|
</div>
|
|
<div>
|
|
<label i18n:translate="" for="addrecipients">Additional recipients</label>
|
|
<div>
|
|
<textarea name="addrecipients" cols="80" rows="4" id="addrecipients"
|
|
dojoType="dijit.form.SimpleTextarea"
|
|
style="width: 60em"></textarea></div>
|
|
</div>
|
|
</div>
|
|
<div dojoType="dijit.layout.ContentPane" region="bottom">
|
|
<div class="buttons">
|
|
<input value="Send email" type="submit"
|
|
onClick="return closeDialog(true)"
|
|
i18n:attributes="value">
|
|
<input type="button" value="Cancel"
|
|
onClick="return closeDialog(false)"
|
|
i18n:attributes="value"></div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
|
|
</html>
|