Revision 58275
Added by Konstantinos Triantafyllou about 4 years ago
citeThis.component.ts | ||
---|---|---|
9 | 9 |
selector: 'citeThis', |
10 | 10 |
template: ` |
11 | 11 |
|
12 |
<div class="citationDownloader "> |
|
13 |
<dl class="uk-description-list-line"> |
|
14 |
<!--dt class="title">Cite this {{type}}</dt--> |
|
15 |
<dd class="line" > |
|
16 |
<mat-select class="matSelection" id="citations" name="citeselect" [(ngModel)]="selectedStyle" (ngModelChange)="styleChanged()" |
|
17 |
[disableOptionCentering]="true" |
|
18 |
panelClass="matSelectionPanel"> |
|
19 |
<mat-option value="0">select a citation style</mat-option> |
|
20 |
<mat-option *ngFor=" let style of this.citation.templates let i = index" [value]="style">{{style}}</mat-option> |
|
21 |
</mat-select> |
|
22 |
<div *ngIf="selectedStyle!='0'" id="citation" class="box-content uk-padding-small uk-overflow-auto" [innerHTML]=citationText></div> |
|
23 |
</dd> |
|
24 |
</dl> |
|
12 |
<div class="uk-padding-small"> |
|
13 |
<mat-select class="matSelection" id="citations" name="citeselect" [(ngModel)]="selectedStyle" (ngModelChange)="styleChanged()" |
|
14 |
[disableOptionCentering]="true" |
|
15 |
panelClass="matSelectionPanel"> |
|
16 |
<mat-option value="0">select a citation style</mat-option> |
|
17 |
<mat-option *ngFor=" let style of this.citation.templates let i = index" [value]="style">{{style}}</mat-option> |
|
18 |
</mat-select> |
|
19 |
<div *ngIf="selectedStyle!='0'" id="citation" class="box-content uk-margin-small-top uk-overflow-auto" [innerHTML]=citationText></div> |
|
25 | 20 |
</div> |
26 | 21 |
` |
27 | 22 |
}) |
Also available in: Unified diff
[Library | Trunk]: 1. Merge from landing redesign. 2. Close modal on show Authors.