allow to show the full text of a comment in the moderation view.

svn path=/plone.app.discussion/trunk/; revision=33400
This commit is contained in:
Timo Stollenwerk
2010-01-25 11:43:29 +00:00
parent 489afd8636
commit 4fa3f476d4
3 changed files with 34 additions and 1 deletions
+7 -1
View File
@@ -99,7 +99,13 @@
tal:content="item/Title" />
</td>
<td tal:content="structure python:view.cook(item.Description)" />
<td>
<span tal:replace="structure python:view.cook(item.Description)" />
<a href=""
tal:attributes="href string:${item/getURL}/getText"
tal:condition="python:item.Description.endswith('[...]')"
class="show-full-comment-text">show full comment text</a>
</td>
<td class="actions">
<input id=""
class="context comment-publish-button"