-
Notifications
You must be signed in to change notification settings - Fork 6
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
resources: uniformize detailed views #366
base: angular-17
Are you sure you want to change the base?
Conversation
a3b4619
to
f41d920
Compare
* Removes useless detailed views. * Redirects to the search view after record edition. * Uses short editor when it is possible. * Uses a generic component to display fields in detailed views. * Removes useless test files. Co-Authored-by: Johnny Mariéthoz <[email protected]>
f41d920
to
28b4283
Compare
</dd> | ||
<sonar-field-description [label]="'Is shared' | translate" [field]="record.metadata.isShared"> | ||
<ng-template let-isShared pTemplate="template"> | ||
<i class="fa fa-{{ isShared ? 'check' : 'close' }}"></i> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<i class="fa" [ngClass]="{ 'fa-check': isShared, 'fa-close': !isShared }"></i>
</dd> | ||
<sonar-field-description [label]="'Is dedicated' | translate" [field]="record.metadata.isDedicated"> | ||
<ng-template let-isDedicated pTemplate="template"> | ||
<i class="fa fa-{{ isDedicated ? 'check' : 'close' }}"></i> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
</ng-container> | ||
<i class="fa fa-{{ record.metadata['documentsCustomField' + i].includeInFacets ? 'check' : 'remove' }}"></i> | ||
} | ||
<i class="fa fa-{{ customField.includeInFacets ? 'check' : 'remove' }}"></i> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<i class="fa" [ngClass]="{ 'fa-check': customField.includeInFacets, 'fa-remove': !customField.includeInFacets }"></i>
No description provided.