Browse Source

fixing teasers

dependabot/npm_and_yarn/acorn-5.7.4
rdrew 6 years ago
parent
commit
7c14e4dec4
  1. 3
      templates/views/views-view-fields--recent-articles-masonry.html.twig

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

@ -4,6 +4,9 @@
{% if fields.field_article_type.content|striptags|trim == "Article" %}
{% set _icon_ = 'fa-file-text-o' %}
{% set _color_ = 'blue' %}
{% elseif fields.field_article_type.content|striptags|trim == "Peer-reviewed article" %}
{% set _icon_ = 'fa-volume-up' %}
{% set _color_ = 'red' %}
{% elseif fields.field_article_type.content|striptags|trim == "Audio/visual art" %}
{% set _icon_ = 'fa-volume-up' %}
{% set _color_ = 'red' %}

Loading…
Cancel
Save