-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Updates NGEE-Tropics and prevents dataset edits by users
- Added contact information for dataset updates and questions in `doi-base.html`, `login.html`, and `index.html`. - Included conditional display of "Edit Datasets" button for superusers and administrators in `index.html`. Closes #444
- Loading branch information
Showing
3 changed files
with
12 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,7 +121,9 @@ <h4 class="banner" >Please contact [email protected] if you have any | |
<a href="https://ess.science.energy.gov/" target="_blank">BER/ESS</a>. All public NGEE-Tropics datasets can be | ||
accessed in the new | ||
<a href="https://data.ess-dive.lbl.gov/portals/ngeetropics" target="_blank">NGEE-Tropics Portal in ESS-DIVE</a>, | ||
including after the NGEE-Tropics Data Archive is retired. | ||
including after the NGEE-Tropics Data Archive is retired. Updates to NGEE-Tropics datasets should now be done | ||
via ESS-DIVE; please contact us at <a href="mailto:[email protected]">[email protected]</a> if you need to edit an NGEE-Tropics dataset or if you have any questions about NGEE-Tropics datasets. | ||
|
||
</div> | ||
|
||
<div class="container"> | ||
|
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 |
---|---|---|
|
@@ -33,7 +33,10 @@ | |
<a href="https://ess.science.energy.gov/" target="_blank">BER/ESS</a>. All public NGEE-Tropics datasets can be | ||
accessed in the new | ||
<a href="https://data.ess-dive.lbl.gov/portals/ngeetropics" target="_blank">NGEE-Tropics Portal in ESS-DIVE</a>, | ||
including after the NGEE-Tropics Data Archive is retired. | ||
including after the NGEE-Tropics Data Archive is retired. Updates to NGEE-Tropics datasets should | ||
now be done via ESS-DIVE; please contact us at <a href="mailto:[email protected]">[email protected]</a> | ||
if you need to edit an NGEE-Tropics dataset or if you have any questions about NGEE-Tropics datasets. | ||
|
||
</div> | ||
<body data-feedly-mini="yes"> | ||
|
||
|
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 |
---|---|---|
|
@@ -25,7 +25,9 @@ | |
<a href="https://ess.science.energy.gov/" target="_blank">BER/ESS</a>. All public NGEE-Tropics datasets can be | ||
accessed in the new | ||
<a href="https://data.ess-dive.lbl.gov/portals/ngeetropics" target="_blank">NGEE-Tropics Portal in ESS-DIVE</a>, | ||
including after the NGEE-Tropics Data Archive is retired. | ||
including after the NGEE-Tropics Data Archive is retired. Updates to NGEE-Tropics datasets should | ||
now be done via ESS-DIVE; please contact us at <a href="mailto:[email protected]">[email protected]</a> if you need to edit an NGEE-Tropics dataset or if you have any questions about NGEE-Tropics datasets. | ||
|
||
</div> | ||
<main> | ||
<div class="logo"> | ||
|
@@ -63,7 +65,9 @@ <h3>NGEE Tropics Archive</h3> | |
</p> | ||
<br> | ||
<div class="columns small-centered small-4"> | ||
{% if user.is_superuser or user|has_group:"NGT Administrator" %} | ||
<button class="button js-view-toggle columns small-12" data-view="edit-list">Edit Datasets</button> | ||
{% endif %} | ||
<button class="button js-view-toggle columns small-12" data-view="view">View Approved Datasets</button> | ||
<a class="button columns small-12" data-view="view" href="/?view=view-sites">View Field Sites / Plots</a> | ||
</div> | ||
|