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
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
[mkws-moved-to-github.git]
/
src
/
templates
/
summary.handlebars
diff --git
a/src/templates/summary.handlebars
b/src/templates/summary.handlebars
index
b29f3e2
..
85b371d
100644
(file)
--- a/
src/templates/summary.handlebars
+++ b/
src/templates/summary.handlebars
@@
-11,33
+11,33
@@
renderedDetails - active record details rendered from the details template
md-* - metadata fields passed through from backend
}}
{{#if md-thumburl}}
md-* - metadata fields passed through from backend
}}
{{#if md-thumburl}}
- <a class="result-thumb" href="#" onclick="{{detailClick}}">
- <img src="{{md-thumburl}}"/>
+ <a class="mkws-field-thumb" href="#" onclick="{{detailClick}}">
+ <img src="{{md-thumburl.[0]}}"/>
</a>
{{/if}}
</a>
{{/if}}
-<div class="result-data">
- <span class="result-title">
+<div class="mkws-field-data">
+ <span class="mkws-field-title">
<a href="#" id="{{detailLinkId}}" onclick="{{detailClick}}">
{{md-title}}
</a>
</span>
{{#if md-title-remainder}}
<a href="#" id="{{detailLinkId}}" onclick="{{detailClick}}">
{{md-title}}
</a>
</span>
{{#if md-title-remainder}}
- <span class="result-title-remainder">{{md-title-remainder}}</span>
+ <span class="mkws-field-title-remainder">{{md-title-remainder}}</span>
{{/if}}
{{#if md-author}}
{{/if}}
{{#if md-author}}
- <span class="result-author">{{md-author}}</span>
+ <span class="mkws-field-author">{{md-author}}</span>
{{else}}
{{#if md-title-responsibility}}
{{else}}
{{#if md-title-responsibility}}
- <span class="result-author">{{md-title-responsibility}}</span>
+ <span class="mkws-field-author">{{md-title-responsibility}}</span>
{{/if}}
{{/if}}
{{#if md-description}}
{{/if}}
{{/if}}
{{#if md-description}}
- <div class="result-description">{{md-description}}</div>
+ <div class="mkws-field-description">{{md-description}}</div>
{{/if}}
{{#if md-date}}
{{/if}}
{{#if md-date}}
- <span class="result-date">{{md-date}}</span>
- {{/if}}
- {{#if renderedDetails}}
- {{{renderedDetails}}}
+ <span class="mkws-field-date">{{md-date}}</span>
{{/if}}
</div>
{{/if}}
</div>
+{{#if renderedDetails}}
+ {{{renderedDetails}}}
+{{/if}}