Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task/des 2306 Allow Metric Data only at DOI level #1157

Merged
merged 12 commits into from
Mar 6, 2024
Merged
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
Loading