mirror of
https://github.com/GwynethLlewelyn/goswi.git
synced 2026-08-14 00:58:00 +00:00
Style: tweaks & more tweaks
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user