Commit fece62ef authored by rolki's avatar rolki
Browse files

Issue #3201553 by rolki: Change wrappers for the activity items in the dashboard

parent e1c625ec
......@@ -68,7 +68,10 @@
#}
{{ content.commented_entity }}
{{ content.comment_link }}
{% if dashboard is defined and dashboard is not null %}
<div class="card__nested-section">
{% endif %}
{{ content.comment }}
......@@ -78,4 +81,6 @@
</div>
{% endif %}
{% if dashboard is defined and dashboard is not null %}
</div>
{% endif %}
......@@ -43,13 +43,36 @@
<div class="clearfix"></div>
<div class="footer-post">
{{ content.like_and_dislike }}
<div class="album-name">
{{ content.field_album }}
</div>
</div>
{% if dashboard %}
<div class="clearfix"></div>
<div class="media-post-social">
{{ content.like_and_dislike }}
{% if comment_count > 0 %}
<a href="{{ comment_url }}" class="badge badge--pill badge--post">
<span class="badge__container">
<svg class="badge__icon">
<use xlink:href="#icon-comment"></use>
</svg>
<span class="badge__label">
{{ comment_count }}
</span>
</span>
</a>
{% endif %}
<div class="card__link">
{{ more_link }}
</div>
</div>
{% endif %}
</div>
{% if logged_in %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment