refactor: reword bugs list author/date format

Amolith and Crush created

Change the bugs list display from "Opened {time} by {user}" to
"{user} opened {time}" format for better readability and more
natural language flow.

Implements: bug-ad8cdc0
Co-authored-by: Crush <crush@charm.land>

Change summary

pkg/web/templates/bugs.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

pkg/web/templates/bugs.html 🔗

@@ -30,7 +30,7 @@
       {{.Title}}
     </h3>
      <footer>
-       Opened <time datetime="{{.CreatedAt | rfc3339}}" data-tooltip="{{.CreatedAt | formatDate}}">{{.CreatedAt | relativeTime}}</time> by {{if .AuthorAvatar}}<img src="{{.AuthorAvatar}}" alt="" class="avatar" loading="lazy" referrerpolicy="no-referrer">{{end}}<strong>{{.Author}}</strong>
+       {{if .AuthorAvatar}}<img src="{{.AuthorAvatar}}" alt="" class="avatar" loading="lazy" referrerpolicy="no-referrer">{{end}}<strong>{{.Author}}</strong> opened <time datetime="{{.CreatedAt | rfc3339}}" data-tooltip="{{.CreatedAt | formatDate}}">{{.CreatedAt | relativeTime}}</time>
        {{if gt .CommentCount 0}}
        • {{.CommentCount}} comments
        {{end}}