forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in DSC-38-Refactor (pull request DSpace#636)
DSC-38 Refactor Approved-by: Vincenzo Mecca
- Loading branch information
Showing
7 changed files
with
145 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 31 additions & 1 deletion
32
src/app/statistics-page/cris-statistics-page/statistics-map/statistics-map.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,31 @@ | ||
<google-chart *ngIf="data.length > 0" [data]="geoChart"></google-chart> | ||
<ng-container *ngIf="data.length > 0"> | ||
<div class="row mt-1"> | ||
<div class="col text-right"> | ||
<div ngbDropdown class="d-inline-block"> | ||
<button | ||
type="button" | ||
class="btn btn-outline-primary" | ||
id="exportMapAsImg" | ||
ngbDropdownToggle | ||
> | ||
<i class="fas fa-download"></i> | ||
{{"statistics-page.export-map-as-image" | translate}} | ||
</button> | ||
<div ngbDropdownMenu aria-labelledby="exportMapAsImg"> | ||
<button | ||
*ngFor="let image of exportImageTypes" | ||
ngbDropdownItem | ||
(click)="exportMapAsImage(image.type)" | ||
[disabled]="isLoading$ | async" | ||
> | ||
{{ image.label }} | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div data-test="google-chart-ref"> | ||
<google-chart #googleChartRef [data]="geoChart"></google-chart> | ||
</div> | ||
</ng-container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters