Skip to content

Commit

Permalink
Add GBIF date
Browse files Browse the repository at this point in the history
  • Loading branch information
matsbov committed Sep 27, 2024
1 parent 4d7f267 commit 37784b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class ManageController {
gbifKey: dr.gbifRegistryKey,
type: dr.resourceType,
repatriationCountry: dr.repatriationCountry,
gbifPublished: "-",
gbifPublished: gbifService.getGbifDatasetLastUpdated(dr.gbifRegistryKey),
gbifCount: 0,
atlasCount: atlasCountJson.totalRecords,
atlasPublished: dr.dataCurrency
Expand Down
8 changes: 6 additions & 2 deletions grails-app/views/manage/gbifCompare.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@
<td>${item.uid}</td>
<td>${item.type}</td>
<td>${item.repatriationCountry}</td>
<td>${item.gbifPublished}</td>
<td>${item.atlasPublished}</td>
<td>
<g:formatDate type="datetime" date="${item.gbifPublished}"/>
</td>
<td <g:if test="${item.gbifPublished != item.atlasPublished}">style="color: red"</g:if>>
<g:formatDate type="datetime" date="${item.atlasPublished}"/>
</td>
<td style="text-align: right;">
<g:formatNumber number="${item.gbifCount}" format="###,###,##0" />
</td>
Expand Down

0 comments on commit 37784b9

Please sign in to comment.