X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/5fb0c1a0670249b416a21e1e3de7e963a2d3e63d..343d9c2b8123ed93ab3aef040876567cf411fa58:/templates/macros.tmpl
diff --git a/templates/macros.tmpl b/templates/macros.tmpl
index 11ba25c..c3b7ed8 100644
--- a/templates/macros.tmpl
+++ b/templates/macros.tmpl
@@ -40,22 +40,23 @@ and then redefines macros as desired.
@# Non-displaying
text
@define {quiethead} {}
- {}
+ { }
@# Standard menu
@# @current is the name of the current page, e.g. choosealpha, login
@define {stdmenu} {current}
- {
-
+
+
}
@# Menu entry
@@ -67,16 +68,15 @@ and then redefines macros as desired.
@#
@define {menuitem} {current name available}
{@if{@available}
- { }
- {
- @label{menu.@name}}}
+ { @label{menu.@name}}
+ { @label{menu.@name}}}
@# Standard footer text
@@ -111,9 +111,9 @@ and then redefines macros as desired.
{@right{play}
{@part{@track}{short}{artist}}
+ title="@label{@what.artistverbose}">@part{@track}{artist}{short}}
{@part{@track}{short}{artist}}}
+ title="@part{@track}{artist}">@part{@track}{artist}{short}}}
@# Expand to the album for @track
@# @what is the section
@@ -122,15 +122,15 @@ and then redefines macros as desired.
{@right{play}
{@part{@track}{short}{album}}
+ title="@label{@what.albumverbose}">@part{@track}{album}{short}}
{@part{@track}{short}{album}}}
+ title="@part{@track}{album}">@part{@track}{album}{short}}}
@# Expand to the title for @track
@# @what is the section
@# @track is the track name
@define {mtitle} {what track}
- {@part{@track}{short}{title}}
+ {@part{@track}{title}{short}}
@# Expand to the remove/scratch entry for @id
@# @what is the section