visual improvements in frame and communities sidebox

This commit is contained in:
2025-10-17 13:38:05 -06:00
parent be5b3a426d
commit 7a755aac77
3 changed files with 56 additions and 34 deletions
+15 -6
View File
@@ -26,11 +26,20 @@
<div class="text-small">You are not a member of any communities.</div>
{{ end }}
</div>
<div class="mt-3 text-center">
<span class="text-black text-xs font-bold">
[ <a href="/TODO/manage_comms" class="text-blue-700 hover:text-blue-900">Manage</a> |
<a href="/TODO/create_comm" class="text-blue-700 hover:text-blue-900">Create New</a> ]
</span>
</div>
{{ if sb.Flags["canManage"] || sb.Flags["canCreate"] }}
<div class="mt-3 text-center">
<span class="text-black text-xs font-bold">
[
{{ if sb.Flags["canManage"] }}
<a href="/TODO/manage_comms" class="text-blue-700 hover:text-blue-900">Manage</a>
{{ if sb.Flags["canCreate"] }}|{{ end }}
{{ end }}
{{ if sb.Flags["canCreate"] }}
<a href="/TODO/create_comm" class="text-blue-700 hover:text-blue-900">Create New</a>
{{ end }}
]
</span>
</div>
{{ end }}
</div>
</div>