Project

General

Profile

« Previous | Next » 

Revision 56947

[mergeResultLandingPage | Library]:
1. alert.ts: Add input field 'classBody' to add class in modal (e.g. for width).
2. project.component & resultLanding.component: Call <metrics> only when the accordion in clicked.
3. resultLanding.component:
a. Bug fix: variable was used as string
b. Bioentities preprocessing not only for publications
c. metrics valid only when actually clicked
d. modal for other versions (deleted by inference) added in html only if there are other versions & use 'classBody' to set its width.

View differences:

project.component.html
233 233
                  Metrics
234 234
                </a>
235 235
                <div class="uk-accordion-content">
236
                  <metrics [pageViews]="pageViews"
236
                  <metrics *ngIf="metricsClicked" [pageViews]="pageViews"
237 237
                           [id]="projectId" [entityType]="'projects'" [entity]="'Project'"
238 238
                           (metricsResults)="metricsResults($event)" [(properties)]=properties>
239 239
                  </metrics>

Also available in: Unified diff