Revision 53188
Added by Myrto Koukouli over 5 years ago
metrics-usagestats-report-results.component.html | ||
---|---|---|
116 | 116 |
<table class="uk-table uk-table-middle uk-table-striped" style="vertical-align: top !important;"> |
117 | 117 |
<thead> |
118 | 118 |
<tr> |
119 |
<th>Item Urls</th> |
|
120 |
<th>Title</th> |
|
121 |
<th>Publisher</th> |
|
119 |
<th *ngIf="chosenReport !== 'RR1'">Title</th> |
|
120 |
<th *ngIf="chosenReport !== 'RR1'">Publisher</th> |
|
121 |
<th *ngIf="chosenReport === 'RR1'">Platform name</th> |
|
122 |
<th>{{ (chosenReport !== 'RR1') ? 'Item Urls' : 'Url' }}</th> |
|
122 | 123 |
<th>Type</th> |
123 | 124 |
<th colspan="2">Downloads/Views</th> |
124 | 125 |
</tr> |
... | ... | |
127 | 128 |
<tbody *ngFor="let item of repoResponse.Report.Report.Customer.ReportItems; let item_i = index" |
128 | 129 |
style="border-bottom: 1px solid whitesmoke;"> |
129 | 130 |
<tr> |
131 |
<td *ngIf="chosenReport !== 'RR1'">{{ item.ItemName }}</td> |
|
132 |
<td *ngIf="chosenReport !== 'RR1'">{{ item.ItemPublisher }}</td> |
|
133 |
<td *ngIf="chosenReport === 'RR1'">{{ item.ItemPlatform }}</td> |
|
130 | 134 |
<td> |
131 |
<span *ngFor="let url of transformItem(item.ItemIdentifier[1].Value); let i = index">
|
|
132 |
<br *ngIf="i>0">{{ url }} |
|
133 |
</span> |
|
135 |
<span *ngFor="let url of transformItem(item.ItemIdentifier); let i = index">
|
|
136 |
<br *ngIf="i>0">{{ url }}
|
|
137 |
</span>
|
|
134 | 138 |
</td> |
135 |
<td>{{ item.ItemName }}</td> |
|
136 |
<td>{{ item.ItemPublisher }}</td> |
|
137 | 139 |
<td>{{ item.ItemDataType }}</td> |
138 | 140 |
<td class="uk-text-center" |
139 | 141 |
*ngIf="repoResponse.ReportDefinition.Filters.ReportAttribute[0].Value === 'Monthly'" colspan="2"> |
Also available in: Unified diff
fixed bug in usagestats