diff --git a/templates/person/notifications.hamlet b/templates/person/notifications.hamlet new file mode 100644 index 0000000..aa8f9d2 --- /dev/null +++ b/templates/person/notifications.hamlet @@ -0,0 +1,29 @@ +$# This file is part of Vervis. +$# +$# Written in 2019 by fr33domlover . +$# +$# ♡ Copying is an act of love. Please copy, reuse and share. +$# +$# The author(s) have dedicated all copyright and related and neighboring +$# rights to this software to the public domain worldwide. This software is +$# distributed without any warranty. +$# +$# You should have received a copy of the CC0 Public Domain Dedication along +$# with this software. If not, see +$# . + +
+ ^{widgetAll} + + +
+ $forall (activity, widget, enctype) <- notifications +
+      $case activity
+        $of Left doc
+          #{AEP.encodePrettyToLazyText doc}
+        $of Right obj
+          #{TLB.toLazyText $ encodePrettyToTextBuilder obj}
+    
+      ^{widget}
+      
diff --git a/templates/person/outbox.hamlet b/templates/person/outbox.hamlet
new file mode 100644
index 0000000..d9a4fa3
--- /dev/null
+++ b/templates/person/outbox.hamlet
@@ -0,0 +1,27 @@
+$# This file is part of Vervis.
+$#
+$# Written in 2019 by fr33domlover .
+$#
+$# ♡ Copying is an act of love. Please copy, reuse and share.
+$#
+$# The author(s) have dedicated all copyright and related and neighboring
+$# rights to this software to the public domain worldwide. This software is
+$# distributed without any warranty.
+$#
+$# You should have received a copy of the CC0 Public Domain Dedication along
+$# with this software. If not, see
+$# .
+
+

+ This is your personal outbox. It's basically a list of the activities you've + published. It roughly corresponds to the list of toots you see on people's + profile page on Mastodon. + +^{pageNav} + +

+ $forall Entity _ (OutboxItem _ (PersistJSON doc) published) <- items +
#{showTime published} +
#{AEP.encodePrettyToLazyText doc}
+
+^{pageNav}