Commit ccdabeeec75f991d0d9cf76b80bb9655ef098a27

Authored by Andrea Petta
1 parent b3ae5cd5

plugin update

controllets/dataset-table-controllet/dataset-table-controllet.html
@@ -275,10 +275,10 @@ @@ -275,10 +275,10 @@
275 </template> 275 </template>
276 </template> 276 </template>
277 <td> 277 <td>
278 - <paper-icon-button room_id$="{{item.ID}}" version$="{{item.VER}}" class="tools" icon="open-in-new" on-click="_onOpenDatasetClick"></paper-icon-button>  
279 - <paper-icon-button room_id$="{{item.ID}}" version$="{{item.VER}}" class="tools" icon="file-download" on-click="_onDownloadDatasetClick"></paper-icon-button>  
280 - <paper-icon-button room_id$="{{item.ID}}" version$="{{item.VER}}" class="tools" icon="content-copy" on-click="_onCopyDatasetClick"></paper-icon-button>  
281 - <paper-icon-button room_id$="{{item.ID}}" version$="{{item.VER}}" class="tools" icon="description" on-click="_onDownloadInfoClick"></paper-icon-button> 278 + <paper-icon-button title="Open" room_id$="{{item.ID}}" version$="{{item.VER}}" class="tools" icon="open-in-new" on-click="_onOpenDatasetClick"></paper-icon-button>
  279 + <paper-icon-button title="Download as CSV" room_id$="{{item.ID}}" version$="{{item.VER}}" class="tools" icon="file-download" on-click="_onDownloadDatasetClick"></paper-icon-button>
  280 + <paper-icon-button title="Copy link" room_id$="{{item.ID}}" version$="{{item.VER}}" class="tools" icon="content-copy" on-click="_onCopyDatasetClick"></paper-icon-button>
  281 + <paper-icon-button title="Download docs" room_id$="{{item.ID}}" version$="{{item.VER}}" class="tools" icon="description" on-click="_onDownloadInfoClick"></paper-icon-button>
282 </td> 282 </td>
283 </tr> 283 </tr>
284 </template> 284 </template>
@@ -633,11 +633,11 @@ @@ -633,11 +633,11 @@
633 return Object.keys(obj).map(function(key) { 633 return Object.keys(obj).map(function(key) {
634 if(key != "ID" && key != "cssClass") { 634 if(key != "ID" && key != "cssClass") {
635 //var test = regExp.test(obj[key]); 635 //var test = regExp.test(obj[key]);
636 - var test = (obj[key].constructor === Array); 636 + var isLink = (obj[key].constructor === Array);
637 return { 637 return {
638 key: key, 638 key: key,
639 value: obj[key], //test ? obj[key].split(",") : obj[key], 639 value: obj[key], //test ? obj[key].split(",") : obj[key],
640 - isLink: test 640 + isLink: isLink
641 } 641 }
642 } 642 }
643 }); 643 });