Commit e8f0a984 authored by Andreas Valder's avatar Andreas Valder

Merge branch 'foo' into HEAD

parents 678c9d53 a3154798
......@@ -212,7 +212,7 @@ $('#embedcodebtn').popover(
<div class="row">
{% if ismod() or (videos|length > 0) %}
<div style="background-image: url('{{ config.VIDEOPREFIX }}/thumbnail/l_{{lecture.id}}.jpg')" class="col-sm-2 col-xs-12 thumbnailimg">
{% if not videos|length is equalto 0 %}
{% if (not videos|length is equalto 0) or ismod() %}
<a href="{{url_for('lecture', course=lecture.course.handle, id=lecture.id)}}">
<span class="glyphicon glyphicon-play-circle playpreviewbtn"></span>
</a>
......
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