mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-08 08:04:26 +00:00
dont mark sent as unread, even if it is
This commit is contained in:
parent
0689fcdf7c
commit
3284ad6f20
|
@ -22,9 +22,9 @@
|
||||||
{{ template "post.html" $activity.Post }}
|
{{ template "post.html" $activity.Post }}
|
||||||
{{ else if $activity.Message }}
|
{{ else if $activity.Message }}
|
||||||
<div class="message">
|
<div class="message">
|
||||||
<span class="meta{{ if not $activity.Message.PrivateMessage.Read }} orangered{{end}}">
|
|
||||||
<b>message</b>
|
|
||||||
{{ if eq $activity.Message.Creator.ID $state.Session.UserID }}
|
{{ if eq $activity.Message.Creator.ID $state.Session.UserID }}
|
||||||
|
<span class="meta">
|
||||||
|
<b>message</b>
|
||||||
to
|
to
|
||||||
<a href="/{{$state.Host}}/u/{{fullname $activity.Message.Recipient}}">
|
<a href="/{{$state.Host}}/u/{{fullname $activity.Message.Recipient}}">
|
||||||
{{- if $state.HideInstanceNames -}}
|
{{- if $state.HideInstanceNames -}}
|
||||||
|
@ -34,6 +34,8 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</a>
|
</a>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
<span class="meta{{ if not $activity.Message.PrivateMessage.Read }} orangered{{end}}">
|
||||||
|
<b>message</b>
|
||||||
from
|
from
|
||||||
<a href="/{{$state.Host}}/u/{{fullname $activity.Message.Creator}}">
|
<a href="/{{$state.Host}}/u/{{fullname $activity.Message.Creator}}">
|
||||||
{{- if $state.HideInstanceNames -}}
|
{{- if $state.HideInstanceNames -}}
|
||||||
|
|
Loading…
Reference in a new issue