{{ define "navbar" }} {{ $isRAP := and (hasAdmin .Context.User.Privileges) (isRAP .Path) }} {{ $isAdmin := hasAdmin .Context.User.Privileges }} {{ $ds := band .ClientFlags 1 }}