Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

z_ui_admin_users_00_filetest.gno

0.62 Kb · 17 lines
 1// Render realm admin users view.
 2package main
 3
 4import (
 5	boards2 "gno.land/r/gnoland/boards2/v0"
 6)
 7
 8func main() {
 9	println(boards2.Render("admin-users"))
10}
11
12// Output:
13// # Admin Users
14// ### These are the admin users of the realm
15// | Member | Role | Actions |
16// | --- | --- | --- |
17// | [g1skl80cuz8zq3lul9pgz5pc35l2pfzgxgfpsqkx](/u/g1skl80cuz8zq3lul9pgz5pc35l2pfzgxgfpsqkx) | owner | [remove](/r/gnoland/boards2/v0$help&func=RemoveMember&boardID=0&member=g1skl80cuz8zq3lul9pgz5pc35l2pfzgxgfpsqkx) • [change role](/r/gnoland/boards2/v0$help&func=ChangeMemberRole&boardID=0&member=g1skl80cuz8zq3lul9pgz5pc35l2pfzgxgfpsqkx&role=) |