aebe0a7c1b608d994d8854cea81fd2c9b44e9b32
[Packages/TYPO3.CMS.git] / typo3 / sysext / sys_note / Resources / Private / Templates / Note / List.html
1 {namespace notes=TYPO3\CMS\SysNote\ViewHelpers}
2
3 <f:layout name="Default" />
4
5 <f:section name="Content">
6 <f:if condition="{notes}">
7
8 <div id="typo3-dblist-sysnotes">
9 <f:for each="{notes}" as="note">
10 <div class="single-note category-{note.category}">
11 <div class="header">
12 <span><f:translate key="author" /></span>
13 <f:if condition="{note.author.realName}">
14 <f:then>{note.author.realName}</f:then>
15 <f:else>{note.author.userName}</f:else>
16 </f:if>
17 &middot;
18
19 <span><f:translate key="date" /></span>
20 <f:format.date>{note.modificationDate}</f:format.date>
21
22 <f:if condition="{note.personal}">
23 &middot;
24 <span><f:translate key="personal" /></span>&nbsp;<f:translate key="yes" />
25 </f:if>
26
27 <div class="right">
28 <f:be.buttons.icon uri="{notes:editLink(id:note.uid)}" icon="actions-document-open" />
29 </div>
30 </div>
31 <div class="content">
32 <div class="title">
33 <f:if condition="{note.category}"><f:translate key="category.{note.category}" />:</f:if>
34 {note.subject}
35 </div>
36 <f:format.nl2br>{note.message}</f:format.nl2br>
37 </div>
38 </div>
39 </f:for>
40 </div>
41
42 </f:if>
43 </f:section>