Move template to src/templates MKWS-314 MKWS-315
[mkws-moved-to-github.git] / src / mkws.templates / Records.handlebars
diff --git a/src/mkws.templates/Records.handlebars b/src/mkws.templates/Records.handlebars
deleted file mode 100644 (file)
index 3e1b3a7..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-{{!
-Records from a search.
-
-The non-metadata keys enable an optional link to display an AJAX popup that
-fetches additional record detail.
-
-hits:
-  containerClass - partial class attribute for element containing a record
-  detailLinkId - id for the element triggering detail display
-  detailClick - a click event handler for details
-  renderedDetails - active record details rendered from the Record template
-  md-* - metadata fields passed through from backend
-}}
-{{#each hits}}
-  <div class="{{containerClass}}">
-    <a href="#" id="{{detailLinkId}}" onclick="{{detailClick}}">
-      <b>{{md-title}}</b>
-    </a>
-    {{#if md-title-remainder}}
-      <span>{{md-title-remainder}}</span>
-    {{/if}}
-    {{#if md-title-responsibility}}
-      <span><i>{{md-title-responsibility}}</i></span>
-    {{/if}}
-    {{#if renderedDetails}}
-      {{{renderedDetails}}}
-    {{/if}}
-  </div>
-{{/each}}