# HG changeset patch # User Mikael Berthe # Date 1536182526 -7200 # Node ID 360929ee6aefe7edac5a078d324577528c5f8b70 # Parent 34ed5019193aa781de2ed674e239adfa4567602e Display endorsement in relationship entities Update plaintext output and ansi themes to display the endorsement status when displaying a relationship. diff -r 34ed5019193a -r 360929ee6aef printer/plainprinter.go --- 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 } diff -r 34ed5019193a -r 360929ee6aef templates/themes/ansi-dark/relationship.tmpl --- 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}} diff -r 34ed5019193a -r 360929ee6aef templates/themes/ansi/relationship.tmpl --- 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}}