package adminview import ( "fmt" "git.haelnorr.com/h/oslstats/internal/db" "git.haelnorr.com/h/oslstats/internal/roles" ) templ RoleManageModal(role *db.Role) {

{ role.DisplayName }

{ string(role.Name) }

if role.IsSystem { SYSTEM } else { Custom }

if role.Description != "" { { role.Description } } else { No description provided }

if role.Name != roles.Admin {

Actions

if !role.IsSystem { }
} else {

Administrator Role

The administrator role is protected and cannot be modified or deleted. This role has full access to all system features.

}
}