Skip to content
Snippets Groups Projects
Commit e877f5a4 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

fix: Fix translation of description

parent ab8de3be
No related branches found
No related tags found
No related merge requests found
Showing
with 168 additions and 128 deletions
No preview for this file type
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-26 08:59+0200\n"
"POT-Creation-Date: 2024-06-26 09:11+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -23,59 +23,64 @@ msgstr ""
msgid "Observation"
msgstr ""
#: observations/templates/observations/detail.html:34
#: observations/templates/observations/detail.html:33
#: observations/templates/observations/timeseries.html:31
msgid "Description"
msgstr ""
#: observations/templates/observations/detail.html:36
#: observations/templates/observations/index.html:46
#: observations/templates/observations/index.html:68
#: observations/templates/observations/index_old.html:63
#: observations/templates/observations/timeseries.html:32
#: observations/templates/observations/timeseries.html:34
msgid "Organism"
msgstr ""
#: observations/templates/observations/detail.html:36
#: observations/templates/observations/detail.html:38
#: observations/templates/observations/index.html:50
#: observations/templates/observations/index.html:69
#: observations/templates/observations/index_old.html:64
#: observations/templates/observations/timeseries.html:34
#: observations/templates/observations/timeseries.html:36
msgid "Crop"
msgstr ""
#: observations/templates/observations/detail.html:38
#: observations/templates/observations/detail.html:40
#: observations/templates/observations/index.html:67
#: observations/templates/observations/index_old.html:62
msgid "Date of observation"
msgstr ""
#: observations/templates/observations/detail.html:41
#: observations/templates/observations/detail.html:43
#: observations/templates/observations/index.html:71
#: observations/templates/observations/timeseries.html:23
#: observations/templates/observations/timeseries.html:28
msgid "Time series"
msgstr ""
#: observations/templates/observations/detail.html:45
#: observations/templates/observations/timeseries.html:36
#: observations/templates/observations/detail.html:47
#: observations/templates/observations/timeseries.html:38
msgid "Location"
msgstr ""
#: observations/templates/observations/detail.html:48
#: observations/templates/observations/detail.html:50
msgid "Observation data"
msgstr ""
#: observations/templates/observations/detail.html:58
#: observations/templates/observations/detail.html:60
msgid "Illustrations"
msgstr ""
#: observations/templates/observations/detail.html:66
#: observations/templates/observations/timeseries.html:52
#: observations/templates/observations/detail.html:68
#: observations/templates/observations/timeseries.html:54
msgid "View all observations"
msgstr ""
#: observations/templates/observations/detail.html:122
#: observations/templates/observations/detail.html:126
msgid "Observation was not quantified"
msgstr ""
#: observations/templates/observations/detail.html:160
#: observations/templates/observations/timeseries.html:161
#: observations/templates/observations/detail.html:164
#: observations/templates/observations/timeseries.html:165
msgid "Map view not available"
msgstr ""
......@@ -135,6 +140,6 @@ msgstr ""
msgid "View details"
msgstr ""
#: observations/templates/observations/timeseries.html:38
#: observations/templates/observations/timeseries.html:40
msgid "Number of observations"
msgstr ""
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-26 08:59+0200\n"
"POT-Creation-Date: 2024-06-26 09:11+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -24,59 +24,64 @@ msgstr ""
msgid "Observation"
msgstr ""
#: observations/templates/observations/detail.html:34
#: observations/templates/observations/detail.html:33
#: observations/templates/observations/timeseries.html:31
msgid "Description"
msgstr ""
#: observations/templates/observations/detail.html:36
#: observations/templates/observations/index.html:46
#: observations/templates/observations/index.html:68
#: observations/templates/observations/index_old.html:63
#: observations/templates/observations/timeseries.html:32
#: observations/templates/observations/timeseries.html:34
msgid "Organism"
msgstr ""
#: observations/templates/observations/detail.html:36
#: observations/templates/observations/detail.html:38
#: observations/templates/observations/index.html:50
#: observations/templates/observations/index.html:69
#: observations/templates/observations/index_old.html:64
#: observations/templates/observations/timeseries.html:34
#: observations/templates/observations/timeseries.html:36
msgid "Crop"
msgstr ""
#: observations/templates/observations/detail.html:38
#: observations/templates/observations/detail.html:40
#: observations/templates/observations/index.html:67
#: observations/templates/observations/index_old.html:62
msgid "Date of observation"
msgstr ""
#: observations/templates/observations/detail.html:41
#: observations/templates/observations/detail.html:43
#: observations/templates/observations/index.html:71
#: observations/templates/observations/timeseries.html:23
#: observations/templates/observations/timeseries.html:28
msgid "Time series"
msgstr ""
#: observations/templates/observations/detail.html:45
#: observations/templates/observations/timeseries.html:36
#: observations/templates/observations/detail.html:47
#: observations/templates/observations/timeseries.html:38
msgid "Location"
msgstr ""
#: observations/templates/observations/detail.html:48
#: observations/templates/observations/detail.html:50
msgid "Observation data"
msgstr ""
#: observations/templates/observations/detail.html:58
#: observations/templates/observations/detail.html:60
msgid "Illustrations"
msgstr ""
#: observations/templates/observations/detail.html:66
#: observations/templates/observations/timeseries.html:52
#: observations/templates/observations/detail.html:68
#: observations/templates/observations/timeseries.html:54
msgid "View all observations"
msgstr ""
#: observations/templates/observations/detail.html:122
#: observations/templates/observations/detail.html:126
msgid "Observation was not quantified"
msgstr ""
#: observations/templates/observations/detail.html:160
#: observations/templates/observations/timeseries.html:161
#: observations/templates/observations/detail.html:164
#: observations/templates/observations/timeseries.html:165
msgid "Map view not available"
msgstr ""
......@@ -136,6 +141,6 @@ msgstr ""
msgid "View details"
msgstr ""
#: observations/templates/observations/timeseries.html:38
#: observations/templates/observations/timeseries.html:40
msgid "Number of observations"
msgstr ""
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-26 08:59+0200\n"
"POT-Creation-Date: 2024-06-26 09:11+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -23,59 +23,64 @@ msgstr ""
msgid "Observation"
msgstr ""
#: observations/templates/observations/detail.html:34
#: observations/templates/observations/detail.html:33
#: observations/templates/observations/timeseries.html:31
msgid "Description"
msgstr ""
#: observations/templates/observations/detail.html:36
#: observations/templates/observations/index.html:46
#: observations/templates/observations/index.html:68
#: observations/templates/observations/index_old.html:63
#: observations/templates/observations/timeseries.html:32
#: observations/templates/observations/timeseries.html:34
msgid "Organism"
msgstr ""
#: observations/templates/observations/detail.html:36
#: observations/templates/observations/detail.html:38
#: observations/templates/observations/index.html:50
#: observations/templates/observations/index.html:69
#: observations/templates/observations/index_old.html:64
#: observations/templates/observations/timeseries.html:34
#: observations/templates/observations/timeseries.html:36
msgid "Crop"
msgstr ""
#: observations/templates/observations/detail.html:38
#: observations/templates/observations/detail.html:40
#: observations/templates/observations/index.html:67
#: observations/templates/observations/index_old.html:62
msgid "Date of observation"
msgstr ""
#: observations/templates/observations/detail.html:41
#: observations/templates/observations/detail.html:43
#: observations/templates/observations/index.html:71
#: observations/templates/observations/timeseries.html:23
#: observations/templates/observations/timeseries.html:28
msgid "Time series"
msgstr ""
#: observations/templates/observations/detail.html:45
#: observations/templates/observations/timeseries.html:36
#: observations/templates/observations/detail.html:47
#: observations/templates/observations/timeseries.html:38
msgid "Location"
msgstr ""
#: observations/templates/observations/detail.html:48
#: observations/templates/observations/detail.html:50
msgid "Observation data"
msgstr ""
#: observations/templates/observations/detail.html:58
#: observations/templates/observations/detail.html:60
msgid "Illustrations"
msgstr ""
#: observations/templates/observations/detail.html:66
#: observations/templates/observations/timeseries.html:52
#: observations/templates/observations/detail.html:68
#: observations/templates/observations/timeseries.html:54
msgid "View all observations"
msgstr ""
#: observations/templates/observations/detail.html:122
#: observations/templates/observations/detail.html:126
msgid "Observation was not quantified"
msgstr ""
#: observations/templates/observations/detail.html:160
#: observations/templates/observations/timeseries.html:161
#: observations/templates/observations/detail.html:164
#: observations/templates/observations/timeseries.html:165
msgid "Map view not available"
msgstr ""
......@@ -135,6 +140,6 @@ msgstr ""
msgid "View details"
msgstr ""
#: observations/templates/observations/timeseries.html:38
#: observations/templates/observations/timeseries.html:40
msgid "Number of observations"
msgstr ""
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-26 08:59+0200\n"
"POT-Creation-Date: 2024-06-26 09:11+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -23,59 +23,64 @@ msgstr ""
msgid "Observation"
msgstr ""
#: observations/templates/observations/detail.html:34
#: observations/templates/observations/detail.html:33
#: observations/templates/observations/timeseries.html:31
msgid "Description"
msgstr ""
#: observations/templates/observations/detail.html:36
#: observations/templates/observations/index.html:46
#: observations/templates/observations/index.html:68
#: observations/templates/observations/index_old.html:63
#: observations/templates/observations/timeseries.html:32
#: observations/templates/observations/timeseries.html:34
msgid "Organism"
msgstr ""
#: observations/templates/observations/detail.html:36
#: observations/templates/observations/detail.html:38
#: observations/templates/observations/index.html:50
#: observations/templates/observations/index.html:69
#: observations/templates/observations/index_old.html:64
#: observations/templates/observations/timeseries.html:34
#: observations/templates/observations/timeseries.html:36
msgid "Crop"
msgstr ""
#: observations/templates/observations/detail.html:38
#: observations/templates/observations/detail.html:40
#: observations/templates/observations/index.html:67
#: observations/templates/observations/index_old.html:62
msgid "Date of observation"
msgstr ""
#: observations/templates/observations/detail.html:41
#: observations/templates/observations/detail.html:43
#: observations/templates/observations/index.html:71
#: observations/templates/observations/timeseries.html:23
#: observations/templates/observations/timeseries.html:28
msgid "Time series"
msgstr ""
#: observations/templates/observations/detail.html:45
#: observations/templates/observations/timeseries.html:36
#: observations/templates/observations/detail.html:47
#: observations/templates/observations/timeseries.html:38
msgid "Location"
msgstr ""
#: observations/templates/observations/detail.html:48
#: observations/templates/observations/detail.html:50
msgid "Observation data"
msgstr ""
#: observations/templates/observations/detail.html:58
#: observations/templates/observations/detail.html:60
msgid "Illustrations"
msgstr ""
#: observations/templates/observations/detail.html:66
#: observations/templates/observations/timeseries.html:52
#: observations/templates/observations/detail.html:68
#: observations/templates/observations/timeseries.html:54
msgid "View all observations"
msgstr ""
#: observations/templates/observations/detail.html:122
#: observations/templates/observations/detail.html:126
msgid "Observation was not quantified"
msgstr ""
#: observations/templates/observations/detail.html:160
#: observations/templates/observations/timeseries.html:161
#: observations/templates/observations/detail.html:164
#: observations/templates/observations/timeseries.html:165
msgid "Map view not available"
msgstr ""
......@@ -135,6 +140,6 @@ msgstr ""
msgid "View details"
msgstr ""
#: observations/templates/observations/timeseries.html:38
#: observations/templates/observations/timeseries.html:40
msgid "Number of observations"
msgstr ""
No preview for this file type
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-26 08:59+0200\n"
"POT-Creation-Date: 2024-06-26 09:11+0200\n"
"PO-Revision-Date: 2024-06-06 13:42+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
......@@ -24,59 +24,64 @@ msgstr ""
msgid "Observation"
msgstr "Observasjon"
#: observations/templates/observations/detail.html:34
#: observations/templates/observations/detail.html:33
#: observations/templates/observations/timeseries.html:31
msgid "Description"
msgstr "Beskrivelse"
#: observations/templates/observations/detail.html:36
#: observations/templates/observations/index.html:46
#: observations/templates/observations/index.html:68
#: observations/templates/observations/index_old.html:63
#: observations/templates/observations/timeseries.html:32
#: observations/templates/observations/timeseries.html:34
msgid "Organism"
msgstr "Organisme"
#: observations/templates/observations/detail.html:36
#: observations/templates/observations/detail.html:38
#: observations/templates/observations/index.html:50
#: observations/templates/observations/index.html:69
#: observations/templates/observations/index_old.html:64
#: observations/templates/observations/timeseries.html:34
#: observations/templates/observations/timeseries.html:36
msgid "Crop"
msgstr "Kultur"
#: observations/templates/observations/detail.html:38
#: observations/templates/observations/detail.html:40
#: observations/templates/observations/index.html:67
#: observations/templates/observations/index_old.html:62
msgid "Date of observation"
msgstr "Observasjonsdato"
#: observations/templates/observations/detail.html:41
#: observations/templates/observations/detail.html:43
#: observations/templates/observations/index.html:71
#: observations/templates/observations/timeseries.html:23
#: observations/templates/observations/timeseries.html:28
msgid "Time series"
msgstr "Tidsserie"
#: observations/templates/observations/detail.html:45
#: observations/templates/observations/timeseries.html:36
#: observations/templates/observations/detail.html:47
#: observations/templates/observations/timeseries.html:38
msgid "Location"
msgstr "Sted"
#: observations/templates/observations/detail.html:48
#: observations/templates/observations/detail.html:50
msgid "Observation data"
msgstr "Observasjonsdata"
#: observations/templates/observations/detail.html:58
#: observations/templates/observations/detail.html:60
msgid "Illustrations"
msgstr "Illustrasjoner"
#: observations/templates/observations/detail.html:66
#: observations/templates/observations/timeseries.html:52
#: observations/templates/observations/detail.html:68
#: observations/templates/observations/timeseries.html:54
msgid "View all observations"
msgstr "Se alle observasjoner"
#: observations/templates/observations/detail.html:122
#: observations/templates/observations/detail.html:126
msgid "Observation was not quantified"
msgstr "Observasjonen ble ikke kvantifisert"
#: observations/templates/observations/detail.html:160
#: observations/templates/observations/timeseries.html:161
#: observations/templates/observations/detail.html:164
#: observations/templates/observations/timeseries.html:165
msgid "Map view not available"
msgstr "Kartvisning ikke tilgjengelig"
......@@ -136,15 +141,12 @@ msgstr "Kultur"
msgid "View details"
msgstr "Se detaljer"
#: observations/templates/observations/timeseries.html:38
#: observations/templates/observations/timeseries.html:40
msgid "Number of observations"
msgstr "Antall observasjoner"
#~ msgid "Title"
#~ msgstr "Tittel"
#~ msgid "Description"
#~ msgstr "Beskrivelse"
#~ msgid "Observer"
#~ msgstr "Observatør"
No preview for this file type
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-26 08:59+0200\n"
"POT-Creation-Date: 2024-06-26 09:11+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -23,59 +23,64 @@ msgstr ""
msgid "Observation"
msgstr ""
#: observations/templates/observations/detail.html:34
#: observations/templates/observations/detail.html:33
#: observations/templates/observations/timeseries.html:31
msgid "Description"
msgstr ""
#: observations/templates/observations/detail.html:36
#: observations/templates/observations/index.html:46
#: observations/templates/observations/index.html:68
#: observations/templates/observations/index_old.html:63
#: observations/templates/observations/timeseries.html:32
#: observations/templates/observations/timeseries.html:34
msgid "Organism"
msgstr ""
#: observations/templates/observations/detail.html:36
#: observations/templates/observations/detail.html:38
#: observations/templates/observations/index.html:50
#: observations/templates/observations/index.html:69
#: observations/templates/observations/index_old.html:64
#: observations/templates/observations/timeseries.html:34
#: observations/templates/observations/timeseries.html:36
msgid "Crop"
msgstr ""
#: observations/templates/observations/detail.html:38
#: observations/templates/observations/detail.html:40
#: observations/templates/observations/index.html:67
#: observations/templates/observations/index_old.html:62
msgid "Date of observation"
msgstr ""
#: observations/templates/observations/detail.html:41
#: observations/templates/observations/detail.html:43
#: observations/templates/observations/index.html:71
#: observations/templates/observations/timeseries.html:23
#: observations/templates/observations/timeseries.html:28
msgid "Time series"
msgstr ""
#: observations/templates/observations/detail.html:45
#: observations/templates/observations/timeseries.html:36
#: observations/templates/observations/detail.html:47
#: observations/templates/observations/timeseries.html:38
msgid "Location"
msgstr ""
#: observations/templates/observations/detail.html:48
#: observations/templates/observations/detail.html:50
msgid "Observation data"
msgstr ""
#: observations/templates/observations/detail.html:58
#: observations/templates/observations/detail.html:60
msgid "Illustrations"
msgstr ""
#: observations/templates/observations/detail.html:66
#: observations/templates/observations/timeseries.html:52
#: observations/templates/observations/detail.html:68
#: observations/templates/observations/timeseries.html:54
msgid "View all observations"
msgstr ""
#: observations/templates/observations/detail.html:122
#: observations/templates/observations/detail.html:126
msgid "Observation was not quantified"
msgstr ""
#: observations/templates/observations/detail.html:160
#: observations/templates/observations/timeseries.html:161
#: observations/templates/observations/detail.html:164
#: observations/templates/observations/timeseries.html:165
msgid "Map view not available"
msgstr ""
......@@ -135,6 +140,6 @@ msgstr ""
msgid "View details"
msgstr ""
#: observations/templates/observations/timeseries.html:38
#: observations/templates/observations/timeseries.html:40
msgid "Number of observations"
msgstr ""
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-26 08:59+0200\n"
"POT-Creation-Date: 2024-06-26 09:11+0200\n"
"PO-Revision-Date: 2016-10-27 11:26+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
......@@ -22,61 +22,66 @@ msgstr ""
msgid "Observation"
msgstr "观测"
#: observations/templates/observations/detail.html:34
#: observations/templates/observations/detail.html:33
#: observations/templates/observations/timeseries.html:31
msgid "Description"
msgstr ""
#: observations/templates/observations/detail.html:36
#: observations/templates/observations/index.html:46
#: observations/templates/observations/index.html:68
#: observations/templates/observations/index_old.html:63
#: observations/templates/observations/timeseries.html:32
#: observations/templates/observations/timeseries.html:34
msgid "Organism"
msgstr "生物"
#: observations/templates/observations/detail.html:36
#: observations/templates/observations/detail.html:38
#: observations/templates/observations/index.html:50
#: observations/templates/observations/index.html:69
#: observations/templates/observations/index_old.html:64
#: observations/templates/observations/timeseries.html:34
#: observations/templates/observations/timeseries.html:36
msgid "Crop"
msgstr "作物"
#: observations/templates/observations/detail.html:38
#: observations/templates/observations/detail.html:40
#: observations/templates/observations/index.html:67
#: observations/templates/observations/index_old.html:62
msgid "Date of observation"
msgstr "观测时间"
#: observations/templates/observations/detail.html:41
#: observations/templates/observations/detail.html:43
#: observations/templates/observations/index.html:71
#: observations/templates/observations/timeseries.html:23
#: observations/templates/observations/timeseries.html:28
msgid "Time series"
msgstr ""
#: observations/templates/observations/detail.html:45
#: observations/templates/observations/timeseries.html:36
#: observations/templates/observations/detail.html:47
#: observations/templates/observations/timeseries.html:38
msgid "Location"
msgstr ""
#: observations/templates/observations/detail.html:48
#: observations/templates/observations/detail.html:50
msgid "Observation data"
msgstr "观测数据"
#: observations/templates/observations/detail.html:58
#: observations/templates/observations/detail.html:60
#, fuzzy
#| msgid "Observations"
msgid "Illustrations"
msgstr "观测"
#: observations/templates/observations/detail.html:66
#: observations/templates/observations/timeseries.html:52
#: observations/templates/observations/detail.html:68
#: observations/templates/observations/timeseries.html:54
msgid "View all observations"
msgstr "查看所有观测"
#: observations/templates/observations/detail.html:122
#: observations/templates/observations/detail.html:126
msgid "Observation was not quantified"
msgstr "观测没有定量化"
#: observations/templates/observations/detail.html:160
#: observations/templates/observations/timeseries.html:161
#: observations/templates/observations/detail.html:164
#: observations/templates/observations/timeseries.html:165
msgid "Map view not available"
msgstr ""
......@@ -140,7 +145,7 @@ msgstr "作物"
msgid "View details"
msgstr "看细节"
#: observations/templates/observations/timeseries.html:38
#: observations/templates/observations/timeseries.html:40
#, fuzzy
#| msgid "Date of observation"
msgid "Number of observations"
......
......@@ -29,8 +29,10 @@
<div class="col-md-6">
<p class="label">{% trans "Observation" %} </p>
<h1 style="margin-top: 4px;margin-bottom: 30px"><span id="observationHeading"></span></h1>
<p class="label" id="observationTextLabel"></p>
<p id="observationText"></p>
<div id="observationTextInfo">
<p class="label">{% trans "Description" %}</p>
<p id="observationText"></p>
</div>
<p class="label">{% trans "Organism" %}</p>
<p id="organismName"></p>
<p class="label">{% trans "Crop" %}</p>
......@@ -89,8 +91,10 @@
document.getElementById("timeOfObservation").innerHTML = getStandardFormattedDate(observation.timeOfObservation);
document.getElementById("observationHeading").innerHTML = observation.observationHeading;
if(observation.observationText && observation.observationText !== "") {
document.getElementById("observationTextLabel").innerHTML = gettext("Description");
document.getElementById("observationTextInfo").hidden = false;
document.getElementById("observationText").innerHTML = observation.observationText;
} else {
document.getElementById("observationTextInfo").hidden = true;
}
if(observation.observationTimeSeries) {
console.info("observation.observationTimeSeries", observation.observationTimeSeries)
......
......@@ -27,8 +27,10 @@
<div class="col-md-6">
<p class="label">{% trans "Time series" %} </p>
<h1 style="margin-top: 4px;margin-bottom: 30px"><span id="timeSeriesName"></span></h1>
<p class="label" id="timeSeriesDescriptionLabel"></p>
<p id="timeSeriesDescription"></p>
<div id="timeSeriesDescriptionInfo">
<p class="label">{% trans "Description" %}</p>
<p id="timeSeriesDescription"></p>
</div>
<p class="label">{% trans "Organism" %}</p>
<p id="organismName"></p>
<p class="label">{% trans "Crop" %}</p>
......@@ -75,8 +77,10 @@
document.getElementById("timeSeriesLocation").innerHTML = observationTimeSeries.locationPointOfInterest.name;
if(observationTimeSeries.description && observationTimeSeries.description !== "") {
document.getElementById("timeSeriesDescriptionLabel").innerHTML = gettext("Description");
document.getElementById("timeSeriesDescriptionInfo").hidden = false;
document.getElementById("timeSeriesDescription").innerHTML = observationTimeSeries.description;
} else {
document.getElementById("timeSeriesDescriptionInfo").hidden = true;
}
let observations = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment