Skip to content
Snippets Groups Projects
Unverified Commit 237e84e7 authored by fsdavid's avatar fsdavid Committed by GitHub
Browse files

Merge pull request #171 from HumanBrainProject/dev_download_zip2

Dev download zip2
parents 65d47264 a7243533
No related branches found
No related tags found
No related merge requests found
......@@ -8,22 +8,22 @@ import { ZipFileDownloadService } from "src/services/zipFileDownload.service";
styleUrls: [
'./radiolist.style.css'
],
styles: [
`
ul > li.selected > .textSpan:before
{
content: '\u2022';
width : 1em;
display:inline-block;
}
ul > li:not(.selected) > .textSpan:before
{
content: ' ';
width : 1em;
display:inline-block;
}
`
],
// styles: [
// `
// ul > li.selected > .textSpan:before
// {
// content: '\u2022';
// width : 1em;
// display:inline-block;
// }
// ul > li:not(.selected) > .textSpan:before
// {
// content: ' ';
// width : 1em;
// display:inline-block;
// }
// `
// ],
changeDetection: ChangeDetectionStrategy.OnPush
})
......@@ -68,6 +68,7 @@ export class RadioList{
downloadPublications(item) {
console.log(item['properties']['publications'])
const filename = item['name']
let publicationsText = item['name'] + ' Publications:\r\n'
item['properties']['publications'].forEach((p, i) => {
......
......@@ -15,8 +15,9 @@
<span class="dropdown-item-1 textSpan"
#DropDownText
[innerHTML] = "listDisplay(input)"
[style.fontWeight] = "checkSelected(selectedItem, input)? 'bold' : ''"
[ngStyle]="input['properties'] && input['properties']['publications'] ? {'width': 'calc(100% - 30px)', 'overflow': 'hidden'} : {}"
[matTooltip]="overflowText(DropDownText)? DropDownText.innerHTML: ''">
[matTooltip]="overflowText(DropDownText)? DropDownText.innerText: ''">
</span>
<span *ngIf="input['properties'] && input['properties']['publications']" class="infoIcon" (click)="showToast(input);$event.stopPropagation()"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment