X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/858805c3c89075418cfd7260b6897a5ba9b6a024..0af56a7e7a96453722c9da9d96356914c5748d3f:/templates/playing.tmpl?ds=sidebyside
diff --git a/templates/playing.tmpl b/templates/playing.tmpl
index 3c58b0e..147333c 100644
--- a/templates/playing.tmpl
+++ b/templates/playing.tmpl
@@ -25,11 +25,9 @@ USA
@# @action should be the action to switch to the opposite state
@# @state should be the current state
@define {onoff} {class action state}
- {
- @label{playing.@class}
-
+ {@actbutton{@label{playing.@class}}
+ {@label{playing.@q{@action}verbose}}
+ {@action}
}
@@ -54,9 +52,10 @@ USA
{@yes}
{@no}}
- @# Expand to &back=manage or to nothing
- @define {back} {}
- {@ifmanage{&back=manage}{}}
+ @ifmanage{
+ @define {back} {} {&back=manage}
+ @define {formback} {} {}
+ }{}
}@#