Commit ccdabeeec75f991d0d9cf76b80bb9655ef098a27
1 parent
b3ae5cd5
plugin update
Showing
1 changed file
with
6 additions
and
6 deletions
controllets/dataset-table-controllet/dataset-table-controllet.html
... | ... | @@ -275,10 +275,10 @@ |
275 | 275 | </template> |
276 | 276 | </template> |
277 | 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 | 282 | </td> |
283 | 283 | </tr> |
284 | 284 | </template> |
... | ... | @@ -633,11 +633,11 @@ |
633 | 633 | return Object.keys(obj).map(function(key) { |
634 | 634 | if(key != "ID" && key != "cssClass") { |
635 | 635 | //var test = regExp.test(obj[key]); |
636 | - var test = (obj[key].constructor === Array); | |
636 | + var isLink = (obj[key].constructor === Array); | |
637 | 637 | return { |
638 | 638 | key: key, |
639 | 639 | value: obj[key], //test ? obj[key].split(",") : obj[key], |
640 | - isLink: test | |
640 | + isLink: isLink | |
641 | 641 | } |
642 | 642 | } |
643 | 643 | }); | ... | ... |