diff options
author | r <r@freesoftwareextremist.com> | 2019-12-21 05:48:06 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2019-12-21 05:48:06 +0000 |
commit | 889f8da49637e908f203d6d9d195f7d585f8cd03 (patch) | |
tree | 705431057471930b1f38f70169be07d643aa5662 /templates | |
parent | 3280af21ed1a82aa2b964ae098596b2f13a5fc22 (diff) | |
download | bloat-889f8da49637e908f203d6d9d195f7d585f8cd03.tar.gz bloat-889f8da49637e908f203d6d9d195f7d585f8cd03.zip |
Use local url for for mentioned users
Diffstat (limited to 'templates')
-rw-r--r-- | templates/notification.tmpl | 6 | ||||
-rw-r--r-- | templates/status.tmpl | 6 | ||||
-rw-r--r-- | templates/user.tmpl | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/templates/notification.tmpl b/templates/notification.tmpl index da6164b..271597b 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -11,7 +11,7 @@ </a> <div> <div> - <span class="status-dname"> {{WithEmojis .Account.DisplayName .Account.Emojis}} </span> + <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> <span class="icon dripicons-user-group"></span> followed you </div> @@ -31,7 +31,7 @@ </a> <div> <div> - <span class="status-dname"> {{WithEmojis .Account.DisplayName .Account.Emojis}} </span> + <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> <span class="icon dripicons-retweet retweeted"></span> retweeted your post </div> @@ -46,7 +46,7 @@ </a> <div> <div> - <span class="status-dname"> {{WithEmojis .Account.DisplayName .Account.Emojis}} </span> + <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> <span class="icon dripicons-star liked"></span> liked your post </div> diff --git a/templates/status.tmpl b/templates/status.tmpl index 618398f..b1babf6 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -4,7 +4,7 @@ <a href="/user/{{.Account.ID}}" > <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" /> </a> - <span class="status-dname"> {{WithEmojis .Account.DisplayName .Account.Emojis}} </span> + <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> <span class="icon dripicons-retweet retweeted"></span> retweeted </div> @@ -22,7 +22,7 @@ <div class="status"> {{if not .HideAccountInfo}} <div class="status-name"> - <span class="status-dname"> {{WithEmojis .Account.DisplayName .Account.Emojis}} </span> + <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> <a href="/user/{{.Account.ID}}" > <span class="status-uname"> {{.Account.Acct}} </span> </a> @@ -41,7 +41,7 @@ {{end}} {{end}} </div> - <div class="status-content"> {{WithEmojis .Content .Emojis}} </div> + <div class="status-content"> {{StatusContentFilter .Content .Emojis .Mentions}} </div> <div class="status-media-container"> {{range .MediaAttachments}} {{if eq .Type "image"}} diff --git a/templates/user.tmpl b/templates/user.tmpl index 3347f92..e1a782a 100644 --- a/templates/user.tmpl +++ b/templates/user.tmpl @@ -9,7 +9,7 @@ </div> <div class="user-profile-details-container"> <div> - <span class="status-dname"> {{WithEmojis .User.DisplayName .User.Emojis}} </span> + <span class="status-dname"> {{EmojiFilter .User.DisplayName .User.Emojis}} </span> <span class="status-uname"> {{.User.Acct}} </span> </div> <div> |