Skip to content
Snippets Groups Projects
Commit beb584ce authored by Eric Bremner's avatar Eric Bremner Committed by Martin Leblanc
Browse files

ISTWCMS-5214: updating opportunity teaser

parent 7f6f17fc
No related branches found
No related tags found
1 merge request!188ISTWCMS-5214: adding theming for opportunity nodes and fixing dates
......@@ -643,7 +643,7 @@ class UwNodeContent {
$content_data = $this->setupContentData($node_flags);
// Setup the header content.
if ($node_flags['get_header']) {
if ($node_flags['get_header'] && $view_mode !== 'teaser') {
$content_data['header']['opportunity_type'] = $this->addToContentData('terms', ['field_uw_opportunity_type']);
$content_data['header']['employment_type'] = $this->addToContentData('terms', ['field_uw_opportunity_employment']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment