Template source: _video_like_large.html

{% load i18n staticfiles publication_tags %} <div class="item-card video-list-item item-card-{% if force_category %}{{ force_category.slug }}{% else %}{{ video_like.video.categories.all.0.slug }}{% endif %} item-card-alt"> <a href="{{ video_like.video.get_absolute_url }}"> <div class="item-card-image pull-left"> {% if video_like.video.thumbnail_medium %} <img src="{{ video_like.video.thumbnail_medium }}" alt="featured image"> {% else %} <div class="placeholder-img lightgreybg"> <div class="vcenter-parent"> <div class="vcenter"> <img src="{% static 'dist/images/logo.png' %}" alt="My Trending Stories"/> </div> </div> </div> {% endif %} </div> <div class="item-card-content"> <div class="item-card-category {% if force_category %}{{ force_category.get_color_class }}{% else %}{{ video_like.video.master_category.color_class }}{% endif %}"> <h3>{% if force_category %}{{ force_category }}{% elif city_category %}{{ city_category }}{% else %}{{ video_like.video.categories.all.0 }}{% endif %}</h3> <div class="pull-right"> <span class="item-card-author">{{ video_like.video.uploaded_by.full_name }}</span> {% if video_like.video.uploaded_by.author.avatar %} <img class="avatar" src="{{ video_like.video.uploaded_by.author.avatar.get_author_small_url }}" alt="{{ video_like.video.uploaded_by }}"/> {% else %} <img class="avatar" src="{% static 'dist/images/avatar-default.jpg' %}" alt="{{ video_like.video.uploaded_by }}"/> {% endif %} </div> </div> <div class="item-card-title"> <h4>{{ video_like.video.name }}</h4> </div> <div class="item-card-texte"> <p>{{ video_like.video.short_description }} </p> </div> </div> <div class="clearfix"></div> </a> </div> {#<div>#} {# <h3>#} {# <a href="{% url 'videos_video_single' video_like.video__slug %}">#} {# {{ video_like.video__name }} - {{ video_like.nb_likes }} Likes#} {# </a>#} {# </h3>#} {#</div>#}