
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3154 fd906abe-77d9-0310-91a1-e0d9ade77398
92 lines
3.5 KiB
XML
92 lines
3.5 KiB
XML
<!-- $Id$ -->
|
|
|
|
|
|
<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>
|
|
</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 href="#"
|
|
tal:content="related/title"
|
|
tal:attributes="href python: view.getUrlForTarget(related);">Event</a>
|
|
</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>
|
|
|
|
|
|
<metal:block define-macro="send_email">
|
|
<form method="post" id="sendEmail_form" class="dialog"
|
|
dojoType="dijit.form.Form">
|
|
<input type="hidden" name="form.action" value="create_workitem" />
|
|
<div class="heading">
|
|
<span i18n:translate="">Send Link by Email</span> -
|
|
<span tal:content="view/target/title"></span></div>
|
|
<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:content="view/mailBody"></textarea></div>
|
|
</div>
|
|
<div>
|
|
<label i18n:translate="">Recipients</label>
|
|
<div tal:repeat="member view/members">
|
|
<input type="checkbox" checked name="recipients:list"
|
|
tal:attributes="value member/email" />
|
|
<span tal:content="member/title">Johnny</span>
|
|
(<span tal:content="member/email">Johnny</span>)
|
|
</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 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>
|
|
</form>
|
|
</metal:block>
|