Browse Source

Create last-edited

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

+ 11
- 0
chunks/last-edited View File

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

Loading…
Cancel
Save