chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dirname/basename expansions; template fiddling
[disorder]
/
templates
/
macros.tmpl
diff --git
a/templates/macros.tmpl
b/templates/macros.tmpl
index 450783e626ec03ae5b4d9da01a8bdfc7044f257c..cb763b27a956c0a673fc503efccca7b1817e1e6c 100644
(file)
--- a/
templates/macros.tmpl
+++ b/
templates/macros.tmpl
@@
-18,9
+18,9
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
-@define {
action} {
}
- {@if {@
arg:mgmt@
}
- {
manage
}
- {@
arg:action@}@}@
+@define {
ifmanage} {yes} {no
}
+ {@if {@
eq {@arg{action}}{manage}
}
+ {
@yes
}
+ {@
no}}
}@@@