Browse Source

Create artikeldaten

master
Marc Schlagenhauf 3 years ago
committed by GitHub
parent
commit
98abffbe4d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 0 deletions
  1. +31
    -0
      chunks/artikeldaten

+ 31
- 0
chunks/artikeldaten View File

@ -0,0 +1,31 @@
[[If?
&subject=`[[*artikeldaten]]`
&operator=`=`
&operand=`1`
&then=`<div class="last-edited">
<hr />
<p>
[[If?
&subject=`[[*editor-name]]`
&operator=`=`
&operand=`1`
&then=`[[*editedby:userinfo=`fullname`:empty=`[[*createdby:userinfo=`fullname`]]`]]
[[If?
&subject=`[[*last-edited]]`
&operator=`=`
&operand=`1`
&then=` &nbsp; |&nbsp; [[*editedon:strtotime:date=`%d.%m.%Y`:empty=`[[*createdon:strtotime:date=`%d.%m.%Y`]]`]]`
&else=``
]]`
&else=`[[If?
&subject=`[[*last-edited]]`
&operator=`=`
&operand=`1`
&then=`[[*editedon:strtotime:date=`%d.%m.%Y`:empty=`[[*createdon:strtotime:date=`%d.%m.%Y`]]`]]`
&else=``
]]`
]]
</p>
</div>`
&else=``
]]

Loading…
Cancel
Save