forked from geolba/tethys.frontend
- Icon and link for licenses added
- Listing of authors in list of publications corrected - Coverage section improved - Contributor section moved down
This commit is contained in:
parent
bb7d8eb378
commit
50ab318854
5 changed files with 103 additions and 23 deletions
|
@ -274,7 +274,7 @@ export class DbDataset {
|
|||
if (this.coverage.elevation_absolut != null) {
|
||||
elevation += "\n- Elevation Absolut: " + this.coverage.elevation_absolut + " m";
|
||||
}
|
||||
if (elevation != "") geoLocation += elevation;
|
||||
// if (elevation != "") geoLocation += ("\n---" + elevation);
|
||||
|
||||
let depth = "";
|
||||
if (this.coverage.depth_max != null && this.coverage.depth_min != null) {
|
||||
|
@ -283,16 +283,16 @@ export class DbDataset {
|
|||
if (this.coverage.elevation_absolut != null) {
|
||||
depth += "\n- Depth Absolut: " + this.coverage.depth_absolut + " m";
|
||||
}
|
||||
if (depth != "") geoLocation += depth;
|
||||
// if (depth != "") geoLocation += depth;
|
||||
|
||||
let time = "";
|
||||
if (this.coverage.time_max != null && this.coverage.time_min != null) {
|
||||
time += "\n* Time Min.: " + this.coverage.time_min + "\n* Time Max.: " + this.coverage.time_max;
|
||||
time += "\n- Time Min.: " + this.coverage.time_min + "\n- Time Max.: " + this.coverage.time_max;
|
||||
}
|
||||
if (this.coverage.time_absolut != null) {
|
||||
time += "\n* Time Absolut: " + this.coverage.time_absolut;
|
||||
time += "\n- Time Absolut: " + this.coverage.time_absolut;
|
||||
}
|
||||
if (time != "") geoLocation += time;
|
||||
// if (time != "") geoLocation += time;
|
||||
|
||||
// let elevation = "";
|
||||
// if (this.coverage.elevation_max != null && this.coverage.elevation_min != null) {
|
||||
|
@ -321,7 +321,13 @@ export class DbDataset {
|
|||
// }
|
||||
// if (time != "") geoLocation += time;
|
||||
|
||||
return geoLocation;
|
||||
if (elevation != "" || depth != "" || time != "" ) {
|
||||
return geoLocation + "\n ---" + elevation + depth + time;
|
||||
} else {
|
||||
return geoLocation + elevation + depth + time;
|
||||
}
|
||||
|
||||
// return geoLocation;
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue