Skip to content

Commit

Permalink
[SDESK-1878][SDESK-1884] Remove headline from planning item and coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
nrvikas committed Sep 5, 2017
1 parent ff1a0dd commit f0e07df
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 23 deletions.
11 changes: 0 additions & 11 deletions client/components/Coverage/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,6 @@ function CoverageComponent({
readOnly={readOnly} />
</div>
}
{get(formProfile, 'editor.headline.enabled') &&
<div className="form__row">
<Field
name={`${coverage}.planning.headline`}
component={fields.InputField}
type="text"
label="Headline"
labelLeft={false}
readOnly={readOnly} />
</div>
}
{get(formProfile, 'editor.internal_note.enabled') &&
<div className="form__row">
<Field
Expand Down
10 changes: 0 additions & 10 deletions client/components/PlanningForm/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,6 @@ class Component extends React.Component {
readOnly={readOnly} />
</div>
}
{get(formProfile, 'editor.headline.enabled') &&
<div className="form__row">
<Field
name="headline"
component={fields.InputField}
type="text"
label="Headline"
readOnly={readOnly} />
</div>
}
{get(formProfile, 'editor.anpa_category.enabled') &&
<div className="form__row">
<Field
Expand Down
2 changes: 0 additions & 2 deletions server/planning/planning_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ class CoverageSchema(BaseSchema):
'anpa_category': {'enabled': True},
'description_text': {'enabled': True},
'ednote': {'enabled': True},
'headline': {'enabled': True},
'internal_note': {'enabled': True},
'subject': {'enabled': True},
'agendas': {'enabled': True},
Expand All @@ -125,7 +124,6 @@ class CoverageSchema(BaseSchema):
'ednote': {'enabled': True},
'g2_content_type': {'enabled': True},
'genre': {'enabled': True},
'headline': {'enabled': True},
'internal_note': {'enabled': True},
'scheduled': {'enabled': True}
},
Expand Down

0 comments on commit f0e07df

Please sign in to comment.