Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_wcms_gesso
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_wcms_gesso
Merge requests
!130
ISTWCMS-5214: adding theming needed for opportunity and also fixing dates
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
ISTWCMS-5214: adding theming needed for opportunity and also fixing dates
feature/ISTWCMS-5214-ebremner-theme-opportunity-node
into
3.0.x
Overview
0
Commits
11
Pipelines
0
Changes
1
Merged
Eric Bremner
requested to merge
feature/ISTWCMS-5214-ebremner-theme-opportunity-node
into
3.0.x
3 years ago
Overview
0
Commits
11
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
2a3d076c
Prev
Next
Show latest version
1 file
+
10
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
2a3d076c
ISTWCMS-5214: updating header in card to handle opportunities teaser
· 2a3d076c
Eric Bremner
authored
3 years ago
source/_patterns/04-components/card/card-elements/_header.twig
+
10
−
0
Options
@@ -33,6 +33,16 @@
}
%}
{%
endif
%}
{%
if
header.posted
%}
{%
include
'@components/label/label.twig'
with
{
'label'
:
'Date posted'
}
%}
{%
include
'@components/card/card-elements/_date.twig'
with
{
'date_format'
:
'long'
,
'date'
:
header.posted
}
%}
{%
endif
%}
{%
if
header.opportunity_type
%}
{%
include
'@components/card/card-elements/_opportunity-type.twig'
with
{
'opportunity_type'
:
header.opportunity_type
Loading