Skip to content
Snippets Groups Projects
Commit 05657a97 authored by Daviti Gogshelidze's avatar Daviti Gogshelidze
Browse files

changes for Download Publications

parent 20902abd
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