Skip to content

Commit

Permalink
set image description to not mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
ljubar committed Oct 10, 2023
1 parent b6840b2 commit 44d0dad
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 44d0dad

Please sign in to comment.