mark as unread if comment is in notifications working
This commit is contained in:
parent
b99f7c81dd
commit
65a2bbaa8d
4 changed files with 36 additions and 3 deletions
|
|
@ -4,6 +4,7 @@
|
|||
user: {
|
||||
role: '<?= $kirby->user()->role() ?>',
|
||||
uuid: '<?= $kirby->user()->uuid() ?>',
|
||||
notifications: <?= json_encode(Yaml::decode($kirby->user()->notifications()->value())) ?>
|
||||
<?php if ($kirby->user()->role() == 'client'): ?>
|
||||
client: {
|
||||
name: '<?= $kirby->user()->client()->toPage()->title() ?>',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue