Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
uw_fdsu_theme_resp
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_fdsu_theme_resp
Commits
50526ffb
Commit
50526ffb
authored
1 year ago
by
Eric Bremner
Committed by
Kevin Paxman
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-6607: adding new special alert region
parent
6e2f6acb
No related branches found
No related tags found
1 merge request
!116
ISTWCMS-6607: Adding new special alert template.
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
templates/page/page.html.twig
+4
-1
4 additions, 1 deletion
templates/page/page.html.twig
templates/regions/region--specialalert.html.twig
+23
-0
23 additions, 0 deletions
templates/regions/region--specialalert.html.twig
uw_fdsu_theme_resp.info.yml
+1
-0
1 addition, 0 deletions
uw_fdsu_theme_resp.info.yml
with
28 additions
and
1 deletion
templates/page/page.html.twig
+
4
−
1
View file @
50526ffb
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
* @see html.html.twig
* @see html.html.twig
*/
*/
#}
#}
{%
extends
'@layouts/site-container/site-container.twig'
%}
{%
extends
'@layouts/site-container/site-container.twig'
%}
{%
block
header
%}
{%
block
header
%}
{{
page.header
}}
{{
page.header
}}
...
@@ -42,6 +41,10 @@
...
@@ -42,6 +41,10 @@
{{
page.breadcrumb
}}
{{
page.breadcrumb
}}
{%
endblock
%}
{%
endblock
%}
{%
block
specialalert
%}
{{
page.specialalert
}}
{%
endblock
%}
{%
block
highlighted
%}
{%
block
highlighted
%}
{{
page.highlighted
}}
{{
page.highlighted
}}
{{
page.help
}}
{{
page.help
}}
...
...
This diff is collapsed.
Click to expand it.
templates/regions/region--specialalert.html.twig
0 → 100644
+
23
−
0
View file @
50526ffb
{#
/**
* @file
* Theme override to display a region.
*
* Available variables:
* - content: The content for this region, typically blocks.
* - attributes: HTML attributes for the region div.
* - region: The name of the region variable as defined in the theme's
* .info.yml file.
*
* @see template_preprocess_region()
*/
#}
{%
embed
'@layouts/special-alert/special-alert.twig'
with
{
'classes'
:
classes
}
%}
{%
block
content
%}
{{
content
}}
{%
endblock
%}
{%
endembed
%}
This diff is collapsed.
Click to expand it.
uw_fdsu_theme_resp.info.yml
+
1
−
0
View file @
50526ffb
...
@@ -30,6 +30,7 @@ ckeditor_stylesheets:
...
@@ -30,6 +30,7 @@ ckeditor_stylesheets:
regions
:
regions
:
header
:
Header
header
:
Header
specialalert
:
Special alert
highlighted
:
Highlighted
highlighted
:
Highlighted
content
:
Content
# the content region is required
content
:
Content
# the content region is required
footer
:
Footer
footer
:
Footer
...
...
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