renderedDetails - active record details rendered from the details template
md-* - metadata fields passed through from backend
}}
+{{#if md-thumburl}}
+ <a class="result-thumb" href="#" onclick="{{detailClick}}">
+ <img src="{{md-thumburl}}"/>
+ </a>
+{{/if}}
+<span class="result-title">
<a href="#" id="{{detailLinkId}}" onclick="{{detailClick}}">
- <b>{{md-title}}</b>
+ {{md-title}}
</a>
+</span>
{{#if md-title-remainder}}
- <span>{{md-title-remainder}}</span>
+ <span class="result-title-remainder">{{md-title-remainder}}</span>
+{{/if}}
+{{#if md-author}}
+ <span class="result-author">{{md-author}}</span>
+{{else}}
+ {{#if md-title-responsibility}}
+ <span class="result-author">{{md-title-responsibility}}</span>
+ {{/if}}
+{{/if}}
+{{#if md-description}}
+ <div class="result-description">{{md-description}}</div>
{{/if}}
-{{#if md-title-responsibility}}
- <span><i>{{md-title-responsibility}}</i></span>
+{{#if md-date}}
+ <span class="result-date">{{md-date}}</span>
{{/if}}
{{#if renderedDetails}}
{{{renderedDetails}}}