mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 19:11:25 +01:00
fix: address verified review findings (terminal-output-1)
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
25 files changed
+175
-24
No files matched your search
@@ -129,6 +129,7 @@ $ tea admin user view bob --json email,admin`,
|
||||
return terminal.View{
|
||||
Title: user.Username, ID: fmt.Sprintf("(ID %d)", user.ID), Badges: []terminal.Cell{role, status}, Meta: meta,
|
||||
Fields: []terminal.Field{
|
||||
{Label: "ID", Value: strconv.FormatInt(user.ID, 10), PipedOnly: true},
|
||||
{Label: "Name", Value: user.FullName},
|
||||
{Label: "Email", Value: user.Email},
|
||||
{Label: "Role", Value: role.Text, PipedOnly: true},
|
||||
|
||||
Reference in new issue
Block a user