From d1cfd65c6c7c6ee883a757611ee6a203dd50b050 Mon Sep 17 00:00:00 2001 From: Ben Pate Date: Wed, 15 Nov 2023 10:43:52 -0700 Subject: [PATCH] Redesign Inbox messages --- .../templates/base-social/activitystream.html | 23 ++++++++++----- .../templates/stream-outbox-message/edit.html | 29 ++++--------------- .../templates/stream-outbox-message/view.html | 8 ----- .../theme-global/stylesheet/modal.css | 11 ++++++- _embed/templates/user-inbox/sidebar.html | 4 +-- .../templates/user-message/replies-after.html | 12 ++++++++ _embed/templates/user-message/template.json | 1 + _embed/templates/user-message/view.html | 13 +++++---- 8 files changed, 53 insertions(+), 48 deletions(-) create mode 100644 _embed/templates/user-message/replies-after.html diff --git a/_embed/templates/base-social/activitystream.html b/_embed/templates/base-social/activitystream.html index b275af3ea..43f08666c 100644 --- a/_embed/templates/base-social/activitystream.html +++ b/_embed/templates/base-social/activitystream.html @@ -1,19 +1,27 @@ {{- $actor := .AttributedTo.Load -}} +
-
+
{{- if $actor.Icon.NotNil -}} - + {{- end -}}
- {{- if $actor.NotNil -}} -
- {{$actor.Name}} - · {{ .Published | epochDate | tinyDate}} -
+ + + {{- if ne "" .Name -}} +

{{.Name}}

{{- end -}} {{- if .Image.NotNil -}} @@ -24,4 +32,3 @@
-
\ No newline at end of file diff --git a/_embed/templates/stream-outbox-message/edit.html b/_embed/templates/stream-outbox-message/edit.html index f6be98722..b8da83b02 100644 --- a/_embed/templates/stream-outbox-message/edit.html +++ b/_embed/templates/stream-outbox-message/edit.html @@ -1,14 +1,4 @@ - - -