Implémentation du mode anonyme avec mot de passe.
[Plinn.git] / skins / custom_generic / viewThreadsAtBottom.pt
1 <!-- <meta http-equiv="content-type" content="text/html;charset=UTF-8"/> -->
2 <metal:block metal:define-macro="threadsDisplay">
3 <div tal:define="talkback here/talkback|nothing ;
4 rfo nocall:options/reply_for_ob|nothing;
5 rfo_depth python:rfo and rfo != here and len(rfo.talkback.parentsInThread()) or 0;
6 rfo_id python:rfo_depth and rfo.id or 'add_reply_form'"
7 class="Discussion">
8 <div tal:condition="talkback" tal:omit-tag="">
9 <div tal:condition="python: here.talkback.hasReplies(here)" tal:omit-tag="">
10 <h4 i18n:translate="" i18n:domain="plinn">Comments:</h4>
11 <span metal:use-macro="here/talkback_tree/macros/tree">discussion tree</span>
12 </div>
13 </div>
14 <div tal:repeat="action actions/discussion|nothing" tal:condition="python:rfo != here" i18n:domain="plinn">
15 <br />
16 <a tal:attributes="href action/url" tal:content="action/title" i18n:translate="">Discussion action</a>
17 </div>
18 <div tal:condition="python:rfo == here" tal:omit-tag="">
19 <div metal:use-macro="here/talkback_tree/macros/add_reply_form" tal:omit-tag="">Add comment form</div>
20 </div>
21 </div>
22 </metal:block>