Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (34 sloc) 1.67 KB
{% extends "couchpotato-base.html" %}
{% block couchpotato_content %}
<div id="cp_content" {% if compact_view %}class="compact"{%endif%}>
{% for item in couchpotato %}
<div class="movie" id="{{item.library.identifier}}" data-cpid="{{item.id}}">
<div class="{{item.releases.status}}"></div>
{% if not compact_view %}
<div class="image">
<img class="poster"
src="
{% if item.library.files[0] %}
{{item.library.files[0].path|cp_img}}
{% else %}
{{ url_for('static', filename='images/poster.png') }}
{% endif %}"
/>
<span class="profile" title="CouchPotato quality profile">{{item.profile.label}}</span>
</div>
{%endif%}
<span class="title">{{item.library.titles[0].title}} ({{item.library.year}})</span>
{% if item.library.rating %}<span class="rating text"><h3>Rating: {{item.library.rating}}</h3></span>{% endif %}
<span class="tagline">{% if item.library.tagline %}{{item.library.tagline}}{% else %}{{item.library.plot|truncate(150)}}{% endif %}</span>
{%if compact_view %}<span class="quality">{{item.profile.label}}</span>{%endif%}
</div>
<div class="options {{item.library.identifier}}" data-imdbid="{{item.library.identifier}}" data-cpid="{{item.library_id}}">
<img class="delete" src="{{ url_for('static', filename='images/no.png')}}"/>
<img class="search" src="{{ url_for('static', filename='images/search.png')}}"/>
<a href="http://imdb.com/title/{{item.library.identifier}}" target="_blank">
<img src="{{ url_for('static', filename='images/imdb.png')}}" alt="" />
</a>
</div>
{% endfor %}
</div>
{% endblock %}
Jump to Line
Something went wrong with that request. Please try again.