Skip to content
Snippets Groups Projects
Commit f2219a84 authored by Eric Bremner's avatar Eric Bremner
Browse files

Merge branch 'featue/ISTWCMS-5862-m26lebla-remove-author-from-news-node' into '1.1.x'

ISTWCMS-5862 - m26lebla remove author from news node

See merge request !278
parents bbd9f7a1 530c8ca9
No related branches found
No related tags found
3 merge requests!278ISTWCMS-5862 - m26lebla remove author from news node,!274Draft: ISTWCMS-5551: fixing office hours display,!260Feature/istwcms 5668 a5kulkar rename references to publications
......@@ -401,13 +401,7 @@ class UwNodeContent {
// Setup the header content.
if ($node_flags['get_header']) {
if ($view_mode == 'teaser') {
$content_data['header']['date'] = $this->addToContentData('date', 'field_uw_news_date');
}
else {
$content_data['header']['date'] = $this->addToContentData('date', 'field_uw_news_date');
$content_data['header']['author'] = $this->addToContentData('author', 'field_author');
}
$content_data['header']['date'] = $this->addToContentData('date', 'field_uw_news_date');
}
// Get the media.
......
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