Display endorsement in relationship entities
Update plaintext output and ansi themes to display the endorsement
status when displaying a relationship.
--- a/printer/plainprinter.go Wed Sep 05 23:20:43 2018 +0200
+++ b/printer/plainprinter.go Wed Sep 05 23:22:06 2018 +0200
@@ -288,6 +288,7 @@
indentedPrint(w, indent, false, false, "Blocking", "%v", r.Blocking)
indentedPrint(w, indent, false, false, "Muting", "%v", r.Muting)
indentedPrint(w, indent, false, false, "Muting notifications", "%v", r.MutingNotifications)
+ indentedPrint(w, indent, false, false, "Endorsed", "%v", r.Endorsed)
indentedPrint(w, indent, false, false, "Requested", "%v", r.Requested)
return nil
}
--- a/templates/themes/ansi-dark/relationship.tmpl Wed Sep 05 23:20:43 2018 +0200
+++ b/templates/themes/ansi-dark/relationship.tmpl Wed Sep 05 23:22:06 2018 +0200
@@ -6,4 +6,5 @@
Blocking: {{.blocking}}
Muting: {{.muting}}
Muting notif.: {{.muting}}
+ Endorsed: {{.endorsed}}
Requested: {{.requested}}
--- a/templates/themes/ansi/relationship.tmpl Wed Sep 05 23:20:43 2018 +0200
+++ b/templates/themes/ansi/relationship.tmpl Wed Sep 05 23:22:06 2018 +0200
@@ -6,4 +6,5 @@
Blocking: {{.blocking}}
Muting: {{.muting}}
Muting notif.: {{.muting}}
+ Endorsed: {{.endorsed}}
Requested: {{.requested}}