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
Just list locations with a <br/> after each.
[mkws-moved-to-github.git]
/
examples
/
htdocs
/
mike.html
diff --git
a/examples/htdocs/mike.html
b/examples/htdocs/mike.html
index
6d4a721
..
b19dc47
100644
(file)
--- a/
examples/htdocs/mike.html
+++ b/
examples/htdocs/mike.html
@@
-49,26
+49,30
@@
{{#if md-electronic-url}}
<tr>
<th>URL</th>
{{#if md-electronic-url}}
<tr>
<th>URL</th>
- <td>{{#link md-electronic-url}}{{/link}}</td>
+ <td>{{link md-electronic-url}}</td>
</tr>
{{/if}}
</tr>
{{/if}}
- {{#if location}}
+ {{#if-any location having="md-subject"}}
<tr>
<th>Subject</th>
<td>
<tr>
<th>Subject</th>
<td>
- <ul>
- {{#each location}}
- {{#if md-subject}}
- <li>{{md-subject}}</li>
- {{/if}}
- {{/each}}
- </ul>
+ {{#first location having="md-subject"}}
+ {{#if md-subject}}
+ {{md-subject}}
+ {{/if}}
+ {{/first}}
</td>
</tr>
</td>
</tr>
- {{/if}}
+ {{/if-any}}
<tr>
<th>Locations</th>
<tr>
<th>Locations</th>
- <td>{{location}}</td>
+ <td>
+ {{#each location}}
+ {{#if '@name'}}
+ {{attr '@name'}}<br/>
+ {{/if}}
+ {{/each}}
+ </td>
</tr>
</table>
</script>
</tr>
</table>
</script>