Style: tweaks & more tweaks

This commit is contained in:
Gwyneth Llewelyn
2025-11-06 17:30:24 +00:00
parent f8eb69d01b
commit d02ad4e797
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func systemdNotify(state string) error {
switch {
case !b && err == nil:
config.LogWarn("❌ systemd not available")
config.LogWarn("❌ systemd not available, NOTIFY_SOCKET is unset")
activeSystemd = false
case !b && err != nil:
config.LogWarn("💣 systemd answered with error:", err)
+2 -2
View File
@@ -30,7 +30,7 @@
<th>TMStamp</th>
<th>FirstName</th>
<th>LastName</th>
<th>Email</th>th>
<th>Email</th>
</tr>
</thead>
<tfoot>
@@ -42,7 +42,7 @@
<th>TMStamp</th>
<th>FirstName</th>
<th>LastName</th>
<th>Email</th>th>
<th>Email</th>
</tr>
</tfoot>
</table>
+4 -2
View File
@@ -78,7 +78,8 @@
</div>
</a>
{{ end }}
{{- if gt .numberFeedMessages 0 -}}<a class="dropdown-item text-center small text-gray-500" href="/user/feed-messages">Show All Notifications</a>{{- end -}}
<!-- Note: apparently this requires class "dropdown-item" as well -->t
{{- if gt .numberFeedMessages 0 -}}<a class="text-center small text-gray-500" href="/user/feed-messages">Show All Notifications</a>{{- end -}}
</div>
{{ end }}
</li>
@@ -118,7 +119,8 @@
</div>
</a>
{{ end }}
{{- if gt .numberMessages 0 -}}<a class="dropdown-item text-center small text-gray-500" href="/user/offline-messages">Read More Messages</a>{{- end -}}
<!-- Note: apparently this requires class "dropdown-item" as well -->t
{{- if gt .numberMessages 0 -}}<a class="text-center small text-gray-500" href="/user/offline-messages">Read More Messages</a>{{- end -}}
</div>
{{ end }}
</li>