-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Improves editor appearance. * Improves js package manager: use yarn instead of npm. * Save vertical space by putting add item in menu Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
- Loading branch information
Showing
30 changed files
with
10,391 additions
and
15,825 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 26 additions & 11 deletions
37
rero_ils/modules/item_types/jsonschemas/form_item_types/item_type-v0.0.1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,34 @@ | ||
[ | ||
{ | ||
"title": "Organisation", | ||
"key": "organisation.$ref", | ||
"type": "select", | ||
"remoteRecordType": "organisations", | ||
"readonly": "true" | ||
"type": "fieldset", | ||
"items": [ | ||
{ | ||
"title": "Organisation", | ||
"key": "organisation.$ref", | ||
"type": "select", | ||
"remoteRecordType": "organisations", | ||
"readonly": "true" | ||
} | ||
] | ||
}, | ||
{ | ||
"key": "name", | ||
"validationMessage": { | ||
"alreadyTakenMessage": "The item type name is already taken" | ||
}, | ||
"remoteRecordType": "item_types" | ||
"type": "fieldset", | ||
"items": [ | ||
{ | ||
"key": "name", | ||
"validationMessage": { | ||
"alreadyTakenMessage": "The item type name is already taken" | ||
}, | ||
"remoteRecordType": "item_types" | ||
} | ||
] | ||
}, | ||
{ | ||
"key": "description" | ||
"type": "fieldset", | ||
"items": [ | ||
{ | ||
"key": "description" | ||
} | ||
] | ||
} | ||
] |
54 changes: 37 additions & 17 deletions
54
rero_ils/modules/items/jsonschemas/form_items/item-v0.0.1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,46 @@ | ||
[ | ||
{ | ||
"key": "barcode", | ||
"validationMessage": { | ||
"alreadyTakenMessage": "The barcode is already taken", | ||
"cannotBeVerifiedMessage": "The server cannot verify the barcode" | ||
}, | ||
"remoteRecordType": "items" | ||
"type": "fieldset", | ||
"items": [ | ||
{ | ||
"key": "barcode", | ||
"validationMessage": { | ||
"alreadyTakenMessage": "The barcode is already taken", | ||
"cannotBeVerifiedMessage": "The server cannot verify the barcode" | ||
}, | ||
"remoteRecordType": "items" | ||
} | ||
] | ||
}, | ||
{ | ||
"key": "call_number" | ||
"type": "fieldset", | ||
"items": [ | ||
{ | ||
"key": "call_number" | ||
} | ||
] | ||
}, | ||
{ | ||
"key": "location.$ref", | ||
"title": "Location", | ||
"type": "select", | ||
"remoteRecordType": "locations", | ||
"remoteRecordFiltersByOwningLibrary": "library.pid" | ||
"type": "fieldset", | ||
"items": [ | ||
{ | ||
"key": "location.$ref", | ||
"title": "Location", | ||
"type": "select", | ||
"remoteRecordType": "locations", | ||
"remoteRecordFiltersByOwningLibrary": "library.pid" | ||
} | ||
] | ||
}, | ||
{ | ||
"key": "item_type.$ref", | ||
"title": "Type", | ||
"remoteRecordType": "item_types", | ||
"type": "select" | ||
"type": "fieldset", | ||
"items": [ | ||
{ | ||
"key": "item_type.$ref", | ||
"title": "Type", | ||
"remoteRecordType": "item_types", | ||
"type": "select" | ||
} | ||
] | ||
} | ||
] | ||
] |
Oops, something went wrong.