-
Notifications
You must be signed in to change notification settings - Fork 34
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
record preview: display communities list #726
Conversation
{# Communities list #} | ||
<h5> | ||
{% set communities_entries = record.parent.communities.entries %} | ||
<b>{{ _("Part of:")}} {{ communities_list(communities=communities_entries) }}</b> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spoke with Lars and decided to use "Part of" in stead of "Published in", because this phrasing is already used in displaying Journal info (see screenshots)
<a | ||
class="community-link" | ||
href="/communities/{{ community.slug }}" | ||
title="{{ community_title }}: {{_('Search')}}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just for my education: what does the title attr do? I never used it with a tag like this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c49665d
to
66c978e
Compare
66c978e
to
c86dabd
Compare
Needs: #698
Preview:

Also used in frontpage:
