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
Commits
adef3c85
Commit
adef3c85
authored
3 years ago
by
Eric Bremner
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-4704: updating profiles to use content grid list and teaser card
parent
93e058f8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!66
ISTWCMS-4704: adding date component with ability to handle multiple dates and...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/_patterns/04-components/profile/profile.twig
+9
-27
9 additions, 27 deletions
source/_patterns/04-components/profile/profile.twig
with
9 additions
and
27 deletions
source/_patterns/04-components/profile/profile.twig
+
9
−
27
View file @
adef3c85
<div
class=
"uw-profiles"
>
{%
for
profile
in
profiles
%}
<div
class=
"uw-profile"
>
<div
class=
"uw-profile__infobar"
>
{%
if
profile.image
%}
<div
class=
"uw-profile__image"
>
<a
href=
"
{{
profile.url
}}
"
>
<img
src=
"
{{
profile.image.url
}}
"
alt=
"
{{
profile.image.alt
}}
"
/>
</a>
</div>
{%
endif
%}
<div
class=
"uw-profile__personal"
>
<div
class=
"uw-profile__title"
>
<h2><a
href=
"
{{
profile.url
}}
"
>
{{
profile.title
}}
</a></h2>
</div>
<div
class=
"uw-profile__position"
>
{{
profile.position
}}
</div>
</div>
</div>
<div
class=
"uw-profile__affiliation"
>
{{
profile.affiliation
}}
</div>
<div
class=
"uw-profile__summary"
>
{{
profile.summary
}}
</div>
</div>
{%
endfor
%}
{%
embed
'@components/content-grid-list/content-grid-list.twig'
%}
{%
block
content
%}
{%
for
profile
in
profiles
%}
{%
include
'@components/card/card--teaser/card--teaser.twig'
with
{
teaser
:
profile
,
}
%}
{%
endfor
%}
{%
endblock
%}
{%
endembed
%}
</div>
\ No newline at end of file
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