projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provide explicit leading '@' for {{attr '@name'}}
[mkws-moved-to-github.git]
/
examples
/
htdocs
/
mike.html
diff --git
a/examples/htdocs/mike.html
b/examples/htdocs/mike.html
index
3714e68
..
a806625
100644
(file)
--- a/
examples/htdocs/mike.html
+++ b/
examples/htdocs/mike.html
@@
-52,7
+52,7
@@
<td>{{link md-electronic-url}}</td>
</tr>
{{/if}}
<td>{{link md-electronic-url}}</td>
</tr>
{{/if}}
- {{#if location}}
+ {{#if-any location having="md-subject"}}
<tr>
<th>Subject</th>
<td>
<tr>
<th>Subject</th>
<td>
@@
-63,13
+63,15
@@
{{/first}}
</td>
</tr>
{{/first}}
</td>
</tr>
- {{/if}}
+ {{/if-any}}
<tr>
<th>Locations</th>
<td>
<ul>
{{#each location}}
<tr>
<th>Locations</th>
<td>
<ul>
{{#each location}}
- <li>{{json this}}</li>
+ {{#if '@name'}}
+ <li>{{attr '@name'}}</li>
+ {{/if}}
{{/each}}
</ul>
</td>
{{/each}}
</ul>
</td>