Add muting_boosts to plain output and themes
authorMikael Berthe <mikael@lilotux.net>
Fri, 26 May 2017 13:55:39 +0200
changeset 147 d9b02148d24c
parent 146 2c8c8ba13f50
child 148 6c763fa86e9a
Add muting_boosts to plain output and themes
printer/plainprinter.go
templates/themes/ansi-dark/relationship.tmpl
templates/themes/ansi/relationship.tmpl
--- a/printer/plainprinter.go	Fri May 26 13:41:58 2017 +0200
+++ b/printer/plainprinter.go	Fri May 26 13:55:39 2017 +0200
@@ -230,6 +230,7 @@
 	indentedPrint(w, indent, false, false, "Followed-by", "%v", r.FollowedBy)
 	indentedPrint(w, indent, false, false, "Blocking", "%v", r.Blocking)
 	indentedPrint(w, indent, false, false, "Muting", "%v", r.Muting)
+	indentedPrint(w, indent, false, false, "Muting Boosts", "%v", r.MutingBoosts)
 	indentedPrint(w, indent, false, false, "Requested", "%v", r.Requested)
 	return nil
 }
--- a/templates/themes/ansi-dark/relationship.tmpl	Fri May 26 13:41:58 2017 +0200
+++ b/templates/themes/ansi-dark/relationship.tmpl	Fri May 26 13:55:39 2017 +0200
@@ -1,6 +1,7 @@
-- Account ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}
-  Following:    {{.following}}
-  Followed-by:  {{.followed_by}}
-  Blocking:     {{.blocking}}
-  Muting:       {{.muting}}
-  Requested:    {{.requested}}
+- Account ID:     {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}
+  Following:      {{.following}}
+  Followed-by:    {{.followed_by}}
+  Blocking:       {{.blocking}}
+  Muting:         {{.muting}}
+  Muting Boosts:  {{.muting_boosts}}
+  Requested:      {{.requested}}
--- a/templates/themes/ansi/relationship.tmpl	Fri May 26 13:41:58 2017 +0200
+++ b/templates/themes/ansi/relationship.tmpl	Fri May 26 13:55:39 2017 +0200
@@ -1,6 +1,7 @@
-- Account ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}
-  Following:    {{.following}}
-  Followed-by:  {{.followed_by}}
-  Blocking:     {{.blocking}}
-  Muting:       {{.muting}}
-  Requested:    {{.requested}}
+- Account ID:     {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}
+  Following:      {{.following}}
+  Followed-by:    {{.followed_by}}
+  Blocking:       {{.blocking}}
+  Muting:         {{.muting}}
+  Muting Boosts:  {{.muting_boosts}}
+  Requested:      {{.requested}}