Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_cfg_common
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_cfg_common
Commits
530c8ca9
Commit
530c8ca9
authored
2 years ago
by
Martin Leblanc
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-5862: removed the teaser logic and only load the date through the card header for news node
parent
bbd9f7a1
No related branches found
No related tags found
3 merge requests
!278
ISTWCMS-5862 - m26lebla remove author from news node
,
!274
Draft: ISTWCMS-5551: fixing office hours display
,
!260
Feature/istwcms 5668 a5kulkar rename references to publications
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Service/UwNodeContent.php
+1
-7
1 addition, 7 deletions
src/Service/UwNodeContent.php
with
1 addition
and
7 deletions
src/Service/UwNodeContent.php
+
1
−
7
View file @
530c8ca9
...
@@ -401,13 +401,7 @@ class UwNodeContent {
...
@@ -401,13 +401,7 @@ class UwNodeContent {
// Setup the header content.
// Setup the header content.
if
(
$node_flags
[
'get_header'
])
{
if
(
$node_flags
[
'get_header'
])
{
if
(
$view_mode
==
'teaser'
)
{
$content_data
[
'header'
][
'date'
]
=
$this
->
addToContentData
(
'date'
,
'field_uw_news_date'
);
$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'
);
}
}
}
// Get the media.
// Get the media.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment