[CST-5270] Fixed graphical changes requested

This commit is contained in:
Rezart Vata
2022-04-28 19:07:38 +02:00
parent a754a20ec6
commit d435d8eeb1
3 changed files with 20 additions and 20 deletions

View File

@@ -6,8 +6,8 @@
translate }}
</span>
<div class="d-inline-block float-right">
<span *ngIf="!acc.isExpanded('version')" class="fas fa-plus"></span>
<span *ngIf="acc.isExpanded('version')" class="fas fa-minus"></span>
<span *ngIf="acc.isExpanded('version')" class="fas fa-chevron-up fa-fw"></span>
<span *ngIf="!acc.isExpanded('version')" class="fas fa-chevron-down fa-fw"></span>
</div>
</ng-template>
<ng-template ngbPanelContent>

View File

@@ -12,15 +12,15 @@
<ng-container *ngFor="let journal of sherpaData.journals;let j=index;">
<ngb-panel id="publication-information-{{j}}">
<ng-template ngbPanelTitle>
<div class="d-inline-block float-left">
<span *ngIf="!acc.isExpanded('publication-information-{{j}}')"
class="fas fa-chevron-up fa-fw"></span>
<span *ngIf="acc.isExpanded('publication-information-{{j}}')"
class="fas fa-chevron-down fa-fw"></span>
</div>
<span class="float-left section-title"
tabindex="0">{{'submission.sections.sherpa.publication.information'
| translate}}</span>
<div class="d-inline-block float-right">
<span *ngIf="acc.isExpanded('publication-information-'+j)"
class="fas fa-chevron-up fa-fw"></span>
<span *ngIf="!acc.isExpanded('publication-information-'+j)"
class="fas fa-chevron-down fa-fw"></span>
</div>
</ng-template>
<ng-template ngbPanelContent>
<ds-publication-information [journal]="journal"></ds-publication-information>
@@ -29,15 +29,15 @@
<ng-container *ngFor="let policy of journal.policies; let p=index;">
<ngb-panel id="publisher-policy-{{j}}-{{p}}">
<ng-template ngbPanelTitle>
<div class="d-inline-block float-left">
<span *ngIf="!acc.isExpanded('publisher-policy-{{j}}-{{p}}')"
class="fas fa-chevron-up fa-fw"></span>
<span *ngIf="acc.isExpanded('publisher-policy-{{j}}-{{p}}')"
class="fas fa-chevron-down fa-fw"></span>
</div>
<span class="float-left section-title"
tabindex="0">{{'submission.sections.sherpa.publisher.policy'
| translate}}</span>
<div class="d-inline-block float-right">
<span *ngIf="acc.isExpanded('publisher-policy-'+j+'-'+p)"
class="fas fa-chevron-up fa-fw"></span>
<span *ngIf="!acc.isExpanded('publisher-policy-'+j+'-'+p)"
class="fas fa-chevron-down fa-fw"></span>
</div>
</ng-template>
<ng-template ngbPanelContent>
<ds-publisher-policy [policy]="policy"></ds-publisher-policy>
@@ -47,12 +47,12 @@
</ng-container>
<ngb-panel id="metadata">
<ng-template ngbPanelTitle>
<div class="d-inline-block float-left">
<span *ngIf="!acc.isExpanded('metadata')" class="fas fa-chevron-up fa-fw"></span>
<span *ngIf="acc.isExpanded('metadata')" class="fas fa-chevron-down fa-fw"></span>
</div>
<span class="float-left section-title" tabindex="0">{{'submission.sections.sherpa.record.information'
<span class="section-title" tabindex="0">{{'submission.sections.sherpa.record.information'
| translate}}</span>
<div class="d-inline-block float-right">
<span *ngIf="acc.isExpanded('metadata')" class="fas fa-chevron-up fa-fw"></span>
<span *ngIf="!acc.isExpanded('metadata')" class="fas fa-chevron-down fa-fw"></span>
</div>
</ng-template>
<ng-template ngbPanelContent>
<ds-metadata-information [metadata]="sherpaData.metadata"></ds-metadata-information>

View File

@@ -12,7 +12,7 @@
button {
text-align: left;
padding: 0px;
width: auto;
// width: auto;
font-weight: bold;
.fas {