Tweaking the display of display names.
authorPete <pete@debu.gs>
Sat, 22 Aug 2020 12:24:04 +0000 (05:24 -0700)
committerPete <pete@debu.gs>
Sat, 22 Aug 2020 12:24:04 +0000 (05:24 -0700)
static/style.css
templates/about.tmpl
templates/nav.tmpl
templates/notification.tmpl
templates/status.tmpl
templates/user.tmpl
templates/userlist.tmpl

index 8eb321d19abadee33f695cc835a58ce10e78cb3b..351f91d9d075ef94e86ac3f29da8e8f301317f4c 100644 (file)
 }
 
 .status-dname {
-       font-weight: 800;
+       font-style: italic;
+       font-size: 0.8em;
 }
 
 .status-uname {
        user-select: all;
-       font-style: italic;
-       font-size: 10pt;
 }
 
 .name-emoji {
index 1f6fda7deb7520de0d7f35bc3580599f9b292ab7..41f4847726db93dc4a1c1e971b12f855443a87d1 100644 (file)
@@ -10,7 +10,7 @@
                The source code is released under 
                <a href="https://creativecommons.org/publicdomain/zero/1.0/legalcode" target="_blank">CC0</a> 
                and is available on 
-               <a href="https://git.freesoftwareextremist.com/bloat" target="_blank">git.freesoftwareextremist.com/bloat</a>.
+               <a href="https://git.freesoftwareextremist.com/bloat" target="_blank">git.freesoftwareextremist.com/bloat</a>.  The version you are seeing contains some minor changes, which you can see at <a href="https://git.freespeechextremist.com/gitweb/?p=bloat;a=summary" target="_blank">https://git.freespeechextremist.com/gitweb/?p=bloat;a=summary</a>.
        </P>
 </div>
 
index 3386a7be1bc22618344f16745aa23532a9667c89..36120330a83cf507e25448843b70f6691e1d9ce2 100644 (file)
@@ -8,10 +8,10 @@
        </div>
        <div class="user-info-details-container">
                <div>
-                       <span class="status-dname"> {{EmojiFilter .User.DisplayName .User.Emojis}} </span>  
                        <a class="nav-link" href="/user/{{.User.ID}}">
                                <span class="status-uname"> {{.User.Acct}} </span>
                        </a>
+                       <span class="status-dname"> {{EmojiFilter .User.DisplayName .User.Emojis}} </span>  
                </div>
                <div>
                        <a class="nav-link" href="/timeline/home">home</a>
index 02b38472bf1a1df8969871cdf7015a3f598df3fe..20a1277d1b721306c85c6e509a38971ceb0b331d 100644 (file)
@@ -25,6 +25,9 @@
                </div>
                <div>
                        <div class="notification-info-text">
+                               <a class="nav-link" href="/user/{{.User.ID}}">
+                                       <span class="status-uname"> {{.User.Acct}} </span>
+                               </a>
                                <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>  
                                <span> followed you </span>
                                <span>
@@ -45,6 +48,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/{{.User.ID}}">
+                       <span class="status-uname"> {{.User.Acct}} </span>
+               </a>
                <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>  
                <span> retweeted your post </span>
                <span>
@@ -58,6 +64,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/{{.User.ID}}">
+                       <span class="status-uname"> {{.User.Acct}} </span>
+               </a>
                <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>  
                <span> liked your post </span>
                <span>
index ec0d2978af995013ec54cd0e83aeab1b14e9996f..3b198bf4694da9a57ae393b784ccd8bd8cf96f2c 100644 (file)
                </div>
                <div class="status"> 
                        <div class="status-name">
-                               <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> 
                                <a href="/user/{{.Account.ID}}">
                                        <span class="status-uname"> {{.Account.Acct}} </span>
                                </a>
+                               <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> 
                                <div class="more-container">
                                        <div class="remote-link">
                                                {{if .IDNumbers}}#{{index .IDNumbers .ID}}{{end}} {{.Visibility}}
index f6750c6cf7904c63461bc258991bd226cb88e669..34f93c1d83582ed978d2900a5ff8df576b89aeb5 100644 (file)
@@ -11,8 +11,8 @@
        </div>
        <div class="user-profile-details-container">
                <div>
-                       <span class="status-dname"> {{EmojiFilter .User.DisplayName .User.Emojis}} </span>  
                        <span class="status-uname"> {{.User.Acct}} </span>
+                       <span class="status-dname"> {{EmojiFilter .User.DisplayName .User.Emojis}} </span>  
                        <a class="remote-link" href="{{.User.URL}}" target="_blank" title="remote profile">
                                source
                        </a>
index 426bffc3e89a306ad86d8136c493a4df4b8a6eb3..ab7636d16938cf78a9d817ed4a6c46d198a78271 100644 (file)
@@ -8,10 +8,10 @@
                        </a>
                </div>
                <div>
-                       <div class="status-dname"> {{EmojiFilter .DisplayName .Emojis}} </div>  
                        <a class="img-link" href="/user/{{.ID}}">
                                <div class="status-uname"> {{.Acct}} </div>
                        </a>
+                       <div class="status-dname"> {{EmojiFilter .DisplayName .Emojis}} </div>  
                </div>
        </div>
        {{else}}