visual improvements in frame and communities sidebox
This commit is contained in:
+15
-6
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user