mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +00:00
Manage different level of confidence in the submission
This commit is contained in:
@@ -49,33 +49,60 @@ module.exports = {
|
||||
// NOTE: every how many minutes submission is saved automatically
|
||||
timer: 5
|
||||
},
|
||||
metadata: {
|
||||
// NOTE: allow to set icons used to represent metadata belonging to a relation group
|
||||
icons: [
|
||||
icons: {
|
||||
metadata: [
|
||||
/**
|
||||
* NOTE: example of configuration
|
||||
* {
|
||||
* // NOTE: metadata name
|
||||
* name: 'dc.author',
|
||||
* config: {
|
||||
* // NOTE: used when metadata value has an authority
|
||||
* withAuthority: {
|
||||
* // NOTE: fontawesome (v4.x) icon classes and bootstrap color utility classes can be used
|
||||
* style: 'fa-user'
|
||||
* },
|
||||
* // NOTE: used when metadata value has not an authority
|
||||
* withoutAuthority: {
|
||||
* style: 'fa-user text-muted'
|
||||
* }
|
||||
* }
|
||||
* // NOTE: fontawesome (v4.x) icon classes and bootstrap utility classes can be used
|
||||
* style: 'fa-user'
|
||||
* }
|
||||
*/
|
||||
{
|
||||
// NOTE: metadata name
|
||||
name: 'dc.author',
|
||||
// NOTE: fontawesome (v4.x) icon classes and bootstrap utility classes can be used
|
||||
style: 'fa-user'
|
||||
},
|
||||
// default configuration
|
||||
{
|
||||
name: 'default',
|
||||
config: {}
|
||||
style: ''
|
||||
}
|
||||
]
|
||||
],
|
||||
authority: {
|
||||
confidence: [
|
||||
/**
|
||||
* NOTE: example of configuration
|
||||
* {
|
||||
* // NOTE: confidence value
|
||||
* value: 'dc.author',
|
||||
* // NOTE: fontawesome (v4.x) icon classes and bootstrap utility classes can be used
|
||||
* style: 'fa-user'
|
||||
* }
|
||||
*/
|
||||
{
|
||||
value: 600,
|
||||
style: 'text-success'
|
||||
},
|
||||
{
|
||||
value: 500,
|
||||
style: 'text-info'
|
||||
},
|
||||
{
|
||||
value: 400,
|
||||
style: 'text-warning'
|
||||
},
|
||||
// default configuration
|
||||
{
|
||||
value: 'default',
|
||||
style: 'text-muted'
|
||||
},
|
||||
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
// Angular Universal settings
|
||||
|
Reference in New Issue
Block a user