mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 20:43:08 +00:00
58789: More improvements to selecting metadata schemas
This commit is contained in:
@@ -29,7 +29,6 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let schema of (metadataSchemas | async)?.payload?.page"
|
<tr *ngFor="let schema of (metadataSchemas | async)?.payload?.page"
|
||||||
(click)="editSchema(schema)"
|
|
||||||
[ngClass]="{'table-primary' : isActive(schema) | async}">
|
[ngClass]="{'table-primary' : isActive(schema) | async}">
|
||||||
<td>
|
<td>
|
||||||
<label>
|
<label>
|
||||||
@@ -39,9 +38,9 @@
|
|||||||
>
|
>
|
||||||
</label>
|
</label>
|
||||||
</td>
|
</td>
|
||||||
<td><a [routerLink]="[schema.prefix]">{{schema.id}}</a></td>
|
<td class="selectable-row" (click)="editSchema(schema)"><a [routerLink]="[schema.prefix]">{{schema.id}}</a></td>
|
||||||
<td><a [routerLink]="[schema.prefix]">{{schema.namespace}}</a></td>
|
<td class="selectable-row" (click)="editSchema(schema)"><a [routerLink]="[schema.prefix]">{{schema.namespace}}</a></td>
|
||||||
<td><a [routerLink]="[schema.prefix]">{{schema.prefix}}</a></td>
|
<td class="selectable-row" (click)="editSchema(schema)"><a [routerLink]="[schema.prefix]">{{schema.prefix}}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@@ -0,0 +1,5 @@
|
|||||||
|
@import '../../../../styles/variables.scss';
|
||||||
|
|
||||||
|
.selectable-row:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
@@ -13,7 +13,8 @@ import { NotificationsService } from '../../../shared/notifications/notification
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-metadata-registry',
|
selector: 'ds-metadata-registry',
|
||||||
templateUrl: './metadata-registry.component.html'
|
templateUrl: './metadata-registry.component.html',
|
||||||
|
styleUrls: ['./metadata-registry.component.scss']
|
||||||
})
|
})
|
||||||
export class MetadataRegistryComponent {
|
export class MetadataRegistryComponent {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user