Skip to content

Commit

Permalink
Add field imageRights to Image category & form Image:default
Browse files Browse the repository at this point in the history
  • Loading branch information
tkleinke committed Apr 27, 2022
1 parent fd320dd commit ce0ff64
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 25 deletions.
6 changes: 0 additions & 6 deletions core/config/Config-Ayamonte.json
Original file line number Diff line number Diff line change
Expand Up @@ -1796,9 +1796,6 @@
"imageObject": {
"inputType": "input"
},
"imageRights": {
"inputType": "input"
},
"imageContent": {
"inputType": "input"
}
Expand Down Expand Up @@ -1833,9 +1830,6 @@
"Drawing:default": {
"hidden": [],
"fields": {
"imageRights": {
"inputType": "input"
},
"representedObject": {
"inputType": "input"
}
Expand Down
6 changes: 0 additions & 6 deletions core/config/Language-Ayamonte.de.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@
},
"Drawing": {
"fields": {
"imageRights": {
"label": "Bildrechte"
},
"representedObject": {
"label": "Darstellungsgegenstand"
}
Expand Down Expand Up @@ -232,9 +229,6 @@
"imageObject": {
"label": "Bildgegenstand"
},
"imageRights": {
"label": "Bildrechte"
},
"imageContent": {
"label": "Bildinhalt"
}
Expand Down
6 changes: 0 additions & 6 deletions core/config/Language-Ayamonte.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@
},
"Drawing": {
"fields": {
"imageRights": {
"label": "Image Rights"
},
"representedObject": {
"label": "Represented object"
}
Expand Down Expand Up @@ -237,9 +234,6 @@
"imageObject": {
"label": "Depicted object"
},
"imageRights": {
"label": "Image rights"
},
"imageContent": {
"label": "Content of the image"
}
Expand Down
6 changes: 0 additions & 6 deletions core/config/Language-Ayamonte.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
},
"Drawing": {
"fields": {
"imageRights": {
"label": "Derechos de autor de la imagen"
},
"representedObject": {
"label": "Objeto representado"
}
Expand Down Expand Up @@ -239,9 +236,6 @@
"imageObject": {
"label": "Objeto representado"
},
"imageRights": {
"label": "Derechos de autor de la imagen"
},
"imageContent": {
"label": "Contenido de la imagen"
}
Expand Down
2 changes: 1 addition & 1 deletion core/config/Library/Forms.json
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@
},
{
"name": "properties",
"fields": ["description", "height", "width", "literature"]
"fields": ["description", "height", "width", "literature", "imageRights"]
}
]
},
Expand Down
3 changes: 3 additions & 0 deletions core/config/Library/Language.de.json
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,9 @@
},
"processor": {
"label": "Bearbeiterin/Bearbeiter"
},
"imageRights": {
"label": "Bildrechte"
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions core/config/Library/Language.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,9 @@
"processor": {
"label": "Processor",
"description": "Processor of the image in case of changes after the creation of the image"
},
"imageRights": {
"label": "Image rights"
}
}
},
Expand Down
7 changes: 7 additions & 0 deletions core/config/Library/Language.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,13 @@
"PlasterFragment": {
"label": "Fragmento de enfoscado"
},
"Image": {
"fields": {
"imageRights": {
"label": "Derechos de autor de la imagen"
}
}
},
"Photo": {
"label": "Fotografía"
},
Expand Down
3 changes: 3 additions & 0 deletions core/src/configuration/built-in-configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,9 @@ export class BuiltInConfiguration {
inputType: Field.InputType.CHECKBOXES,
valuelistFromProjectField: 'staff',
constraintIndexed: true
},
imageRights: {
inputType: Field.InputType.INPUT
}
},
minimalForm: {
Expand Down

0 comments on commit ce0ff64

Please sign in to comment.