Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add itemType in collection HTML #96

Merged
merged 1 commit into from
May 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion deegree-ogcapi-features/src/main/resources/collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,14 @@ <h1 v-cloak class="mt-5">{{ title }}</h1>
</div>
</div>
</div>
<div class="row mt-2" v-if="itemType">
<div class="col-md-3">Item type</div>
<div class="col-md-9">
<div class="row">
<div v-cloak class="col-md-12" >{{ itemType }}</div>
</div>
</div>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -185,7 +193,8 @@ <h1 v-cloak class="mt-5">{{ title }}</h1>
metadataLinks: '',
extent: '',
crs: '',
storageCrs: ''
storageCrs: '',
itemType: ''
},

created() {
Expand All @@ -206,6 +215,7 @@ <h1 v-cloak class="mt-5">{{ title }}</h1>
this.extent = json.extent;
this.crs = json.crs;
this.storageCrs = json.storageCrs;
this.itemType = json.itemType;
fetchConfigAndSetExtent(this.extent.spatial.bbox[0]);
}
}
Expand Down