-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(catalog): allow to use abstract a meta when metadata url is unde…
…fined (#799) * feat(catalog): use abstract if metadata url is undefined * WIP * feat(catalog): allow to use abstract a meta when metadata url is undefined * lint
- Loading branch information
1 parent
76748c4
commit 7535b09
Showing
8 changed files
with
100 additions
and
11 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
8 changes: 8 additions & 0 deletions
8
packages/geo/src/lib/metadata/metadata-button/metadata-abstract.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<h2 mat-dialog-title>{{ data.layerTitle }}</h2> | ||
<button class="close-button" mat-button mat-dialog-close>X</button> | ||
<mat-dialog-content *ngIf="data.type !== 'arcgisrest'" class="mat-typography"> | ||
<h3>{{ data.abstract }}</h3> | ||
</mat-dialog-content> | ||
<mat-dialog-content *ngIf="data.type === 'arcgisrest'" class="mat-typography"> | ||
<h3 [innerHTML]="data.abstract"></h3> | ||
</mat-dialog-content> |
12 changes: 12 additions & 0 deletions
12
packages/geo/src/lib/metadata/metadata-button/metadata-abstract.component.scss
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.close-button { | ||
top: 5px; | ||
right: 5px; | ||
padding: 7px; | ||
line-height: 10px; | ||
position: absolute !important; | ||
min-width: auto; | ||
} | ||
|
||
mat-dialog-container { | ||
position: relative; | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/geo/src/lib/metadata/metadata-button/metadata-button.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
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