add modules and missing config options
[mkws-moved-to-github.git] / src / mkws-team.js
index cb6c96e..e1e985b 100644 (file)
@@ -600,6 +600,7 @@ function team($, teamName) {
        //log('findnode(' + selector + ') found ' + node.length + ' nodes');
        return node;
     }
+    that.findnode = findnode;
 
 
     function renderDetails(data, marker) {
@@ -708,6 +709,15 @@ function team($, teamName) {
   <span><i>{{md-title-responsibility}}</i></span>\
 {{/if}}\
 ';
+       } else if (name === "Image") {
+           return '\
+      <a href="#" id="{{_id}}" onclick="{{_onclick}}">\
+        {{#first md-thumburl}}\
+         <img src="{{this}}" alt="{{../md-title}}"/>\
+        {{/first}}\
+       <br/>\
+      </a>\
+';
        }
 
        var s = "There is no default '" + name +"' template!";