Tweaking the display of display names, redux.
authorPete <pete@debu.gs>
Sat, 22 Aug 2020 12:28:25 +0000 (05:28 -0700)
committerPete <pete@debu.gs>
Sat, 22 Aug 2020 12:28:25 +0000 (05:28 -0700)
templates/notification.tmpl
templates/status.tmpl

index 20a1277d1b721306c85c6e509a38971ceb0b331d..9e1b4e8ab664288f917a238e563dbff18c53ded6 100644 (file)
@@ -48,8 +48,8 @@
                <a class="img-link" href="/user/{{.Account.ID}}">
                        <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="avatar" />
                </a>
-               <a class="nav-link" href="/user/{{.User.ID}}">
-                       <span class="status-uname"> {{.User.Acct}} </span>
+               <a class="nav-link" href="/user/{{.Account.ID}}">
+                       <span class="status-uname"> {{.Account.Acct}} </span>
                </a>
                <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>  
                <span> retweeted your post </span>
@@ -64,8 +64,8 @@
                <a class="img-link" href="/user/{{.Account.ID}}">
                        <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="avatar" />
                </a>
-               <a class="nav-link" href="/user/{{.User.ID}}">
-                       <span class="status-uname"> {{.User.Acct}} </span>
+               <a class="nav-link" href="/user/{{.Account.ID}}">
+                       <span class="status-uname"> {{.Account.Acct}} </span>
                </a>
                <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>  
                <span> liked your post </span>
index 3b198bf4694da9a57ae393b784ccd8bd8cf96f2c..63ae3f92467f99f551dce629c8da00efba30c71e 100644 (file)
@@ -5,6 +5,9 @@
                <a class="img-link" href="/user/{{.Account.ID}}">
                        <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="avatar" />
                </a>
+               <a class="nav-link" href="/user/{{.Account.ID}}">
+                       <span class="status-uname"> {{.Account.Acct}} </span>
+               </a>
                <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>  
                retweeted
        </div>