Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EWPP-1368: Update Sources and Related links fields rendering. #924

Merged
merged 4 commits into from
Sep 24, 2021

Conversation

22Alexandra
Copy link
Contributor

No description provided.

{{ item.content }}
{% endfor %}
</div>
<h3 class="ecl-u-type-heading-3">{{ 'Sources'|t }}</h3>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do we change h2 to h3?
As I see we have h2 used in other headers.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

</div>
<h3 class="ecl-u-type-heading-3">{{ 'Sources'|t }}</h3>
{% for item in items %}
{% set bubble_cache = item.content|render %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't find a way where we have an issue with bubbling cache. Is this issue exposed on ewcms?
On the component level, everything seems to work fine even without this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is used correctly because we don't use {{ item.content }} anymore here, so without it cache isn't added.

yenyasinn
yenyasinn previously approved these changes Aug 28, 2021
{{ item.content }}
{% endfor %}
</div>
<h3 class="ecl-u-type-heading-3">{{ 'Sources'|t }}</h3>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

</div>
<h3 class="ecl-u-type-heading-3">{{ 'Sources'|t }}</h3>
{% for item in items %}
{% set bubble_cache = item.content|render %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is used correctly because we don't use {{ item.content }} anymore here, so without it cache isn't added.

yenyasinn
yenyasinn previously approved these changes Sep 1, 2021
@upchuk upchuk merged commit 18d7637 into EPIC-EWPP-1360-News-v3 Sep 24, 2021
@upchuk upchuk deleted the EWPP-1368 branch September 24, 2021 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants