Browse Source

removed peer reviewed label from lp cards

dependabot/npm_and_yarn/acorn-5.7.4
rdrew 6 years ago
parent
commit
33ac4778d1
  1. 10
      templates/views/views-view-fields--recent-articles-masonry.html.twig

10
templates/views/views-view-fields--recent-articles-masonry.html.twig

@ -37,11 +37,11 @@
</span> </span>
<div class="teaser-card__category"> <div class="teaser-card__category">
{{ fields.field_article_type.content }} {{ fields.field_article_type.content }}
{% if fields.field_article_peer_reviewed.content |striptags|trim == "Yes" %} {#{% if fields.field_article_peer_reviewed.content |striptags|trim == "Yes" %}#}
<span class="peer-reviewed"> {#<span class="peer-reviewed">#}
- peer reviewed {#- peer reviewed#}
</span> {#</span>#}
{% endif %} {#{% endif %}#}
</div> </div>
<div class="teaser-card__body card-body"> <div class="teaser-card__body card-body">
<p class="teaser-card__title"> {{ fields.title.content }} </p> <p class="teaser-card__title"> {{ fields.title.content }} </p>

Loading…
Cancel
Save