Skip to content

Commit

Permalink
Merge pull request #8 from ljubar/master
Browse files Browse the repository at this point in the history
set image description to not mandatory
  • Loading branch information
petrjasek authored Oct 11, 2023
2 parents b6840b2 + 44d0dad commit ea0a39b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions client/superdesk.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ module.exports = function(grunt) {
required: true
},
alt_text: {
required: true
required: false
},
description_text: {
required: true
required: false
},
copyrightholder: {
required: false
Expand Down
6 changes: 3 additions & 3 deletions server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def env(variable, fallback_value=None):
'picture': {
'slugline': {'required': False},
'headline': {'required': True},
'description_text': {'required': True},
'description_text': {'required': False},
'byline': {'required': False},
'copyrightnotice': {'required': False},
'usageterms': {'required': False},
Expand All @@ -97,7 +97,7 @@ def env(variable, fallback_value=None):
'video': {
'slugline': {'required': False},
'headline': {'required': True},
'description_text': {'required': True},
'description_text': {'required': False},
'byline': {'required': True},
'copyrightnotice': {'required': False},
'usageterms': {'required': False},
Expand Down Expand Up @@ -140,7 +140,7 @@ def env(variable, fallback_value=None):
"required": True,
},
"description_text": {
"required": True,
"required": False,
},
"byline": {
"required": False,
Expand Down

0 comments on commit ea0a39b

Please sign in to comment.