Skip to content

Commit

Permalink
Task/des 2306 Allow Metric Data only at DOI level (#1157)
Browse files Browse the repository at this point in the history
* commit to main

* removed 'data reuse' from Soc Sci collection level

* remove Data Reuse from Sco Sci collection

* docker file

* remove Data Reuse from Documents in Amends

---------

Co-authored-by: Jake Rosenberg <[email protected]>
  • Loading branch information
van-go and jarosenb authored Mar 6, 2024
1 parent 4701e11 commit 43be928
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,15 +241,6 @@ <h3 class="text-center">
</strong>
</div>
</div>
<div class="entity-meta-field">
<div class="entity-meta-label">Data Reuse</div>
<span>
<a ng-click="$ctrl.entityMetrics(mainEntity.doi, 'Mission')">
&nbsp;<img src='/static/images/ds-icons/icon-metrics.svg' style="height: 12px;" alt="icon of line graph with rising line">
<strong>&nbsp;View Metrics</strong>
</a>
</span>
</div>
<div class="entity-meta-field" ng-if="mainEntity.value.description">
<p>{{ mainEntity.value.description }}</p>
</div>
Expand Down Expand Up @@ -500,15 +491,6 @@ <h3 class="text-center">
</ul>
</div>
</div>
<div class="entity-meta-field">
<div class="entity-meta-label">Data Reuse</div>
<span>
<a ng-click="$ctrl.entityMetrics(collection.doi, 'Collection')">
&nbsp;<img src='/static/images/ds-icons/icon-metrics.svg' style="height: 12px;" alt="icon of line graph with rising line">
<strong>&nbsp;View Collection Metrics</strong>
</a>
</span>
</div>
<div class="entity-meta-field" ng-if="collection.value.description">
<p>{{ collection.value.description }}</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,18 +185,11 @@
</ul>
</div>
</div>
<div class="entity-meta-field">
<div class="entity-meta-label">Data Reuse</div>
<span ng-if="$ctrl.readOnly">
<a ng-click="$ctrl.entityMetrics(collection.doi, 'Collection')">
&nbsp;<img src='/static/images/ds-icons/icon-metrics.svg' style="height: 12px;" alt="icon of line graph with rising line">
<strong>&nbsp;View Collection Metrics</strong>
</a>
</span>
<!-- <div class="entity-meta-field">
<div class="entity-meta-data" ng-if="!$ctrl.readOnly">
<span>(Appears when published)</span>
</div>
</div>
</div> -->
<div class="entity-meta-field" ng-if="collection.value.description">
<p>{{ collection.value.description }}</p>
</div>
Expand Down

0 comments on commit 43be928

Please sign in to comment.