X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/8e4b76bc2eb7a0ade35e3720a56150723aeb27bf..d3a3ef14c820bb651c34d70be745ecac159d44f1:/templates/playing.tmpl diff --git a/templates/playing.tmpl b/templates/playing.tmpl index e1dc280..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} {} {} + }{} }@# @@ -94,9 +93,7 @@ USA @right{volume}{ - + @submit{@label{volume.set}} } @vbutton{down}{-}