diff --git a/dataedit/static/peer_review/opr_contributor.js b/dataedit/static/peer_review/opr_contributor.js index 9a377fdf9..09e3cabf2 100644 --- a/dataedit/static/peer_review/opr_contributor.js +++ b/dataedit/static/peer_review/opr_contributor.js @@ -278,7 +278,6 @@ function getCategoryToTabIdMapping() { 'temporal': 'spatiotemporal-tab', 'source': 'source-tab', 'license': 'license-tab', - 'contributor': 'contributor-tab', }; return mapping; } @@ -678,7 +677,7 @@ function updateSubmitButtonColor() { function updateTabProgressIndicatorClasses() { - const tabNames = ['general', 'spatiotemporal', 'source', 'license', 'contributor']; + const tabNames = ['general', 'spatiotemporal', 'source', 'license']; for (let i = 0; i < tabNames.length; i++) { let tabName = tabNames[i]; @@ -699,7 +698,7 @@ function updateTabProgressIndicatorClasses() { function updateTabClasses() { - const tabNames = ['general', 'spatiotemporal', 'source', 'license', 'contributor']; + const tabNames = ['general', 'spatiotemporal', 'source', 'license']; for (let i = 0; i < tabNames.length; i++) { let tabName = tabNames[i]; let tab = document.getElementById(tabName + '-tab'); @@ -740,7 +739,6 @@ document.addEventListener('DOMContentLoaded', function() { document.getElementById('spatiotemporal-tab'), document.getElementById('source-tab'), document.getElementById('license-tab'), - document.getElementById('contributor-tab'), ]; const reviewContent = document.querySelector(".review__content"); diff --git a/dataedit/static/peer_review/opr_reviewer.js b/dataedit/static/peer_review/opr_reviewer.js index a484ac3b7..8bef27271 100644 --- a/dataedit/static/peer_review/opr_reviewer.js +++ b/dataedit/static/peer_review/opr_reviewer.js @@ -307,7 +307,6 @@ function getCategoryToTabIdMapping() { 'temporal': 'spatiotemporal-tab', 'source': 'source-tab', 'license': 'license-tab', - 'contributor': 'contributor-tab', }; return mapping; } @@ -837,11 +836,10 @@ const otherTabs = [ document.getElementById('spatiotemporal-tab'), document.getElementById('source-tab'), document.getElementById('license-tab'), - document.getElementById('contributor-tab'), ]; const reviewContent = document.querySelector(".review__content"); function updateTabClasses() { - const tabNames = ['general', 'spatiotemporal', 'source', 'license', 'contributor']; + const tabNames = ['general', 'spatiotemporal', 'source', 'license']; for (let i = 0; i < tabNames.length; i++) { let tabName = tabNames[i]; let tab = document.getElementById(tabName + '-tab'); @@ -896,7 +894,7 @@ function updatePercentageDisplay() { function updateTabProgressIndicatorClasses() { - const tabNames = ['general', 'spatiotemporal', 'source', 'license', 'contributor']; + const tabNames = ['general', 'spatiotemporal', 'source', 'license']; for (let i = 0; i < tabNames.length; i++) { let tabName = tabNames[i]; diff --git a/dataedit/templates/dataedit/opr_contributor.html b/dataedit/templates/dataedit/opr_contributor.html index 554812452..683ce9a00 100644 --- a/dataedit/templates/dataedit/opr_contributor.html +++ b/dataedit/templates/dataedit/opr_contributor.html @@ -81,9 +81,7 @@
- {% if item.field is Null %} - {{item.field}} - {{ item.value }} - {% else %} - {{item.field}} - {{ item.newValue|default:item.value }} - {{ item.reviewer_suggestion }} - {{ item.suggestion_comment }} - {% endif %} -
-- {% if item.field is Null %} - {{item.field}} - {{ item.value }} - {% else %} - {{item.field}} - {{ item.newValue|default:item.value }} - {{ item.reviewer_suggestion }} - {{ item.suggestion_comment }} - {% endif %} -
-