Add IMDB & CSFD search to movie details
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
94e34df89b
commit
9f7bdf952d
@ -1,9 +1,9 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
<div class="container-lg">
|
||||
<h1 class="display-1">{{ movie.name }}</h1>
|
||||
<h1 class="display-1">{{ movie.name }}</h1>
|
||||
<p class="text-secondary">Suggested by: {{movie.suggested_by.username}}</p>
|
||||
{% if request.user.is_staff or movie.suggested_by == request.user %}<div class="mb-2"><a class="btn btn-sm btn-danger" href="{% url 'watchlist:edit' movie.id %}">Edit</a></div>{% endif %}
|
||||
<div class="mb-2">{% if request.user.is_staff or movie.suggested_by == request.user %}<a class="btn btn-sm btn-danger" href="{% url 'watchlist:edit' movie.id %}">Edit</a>{% endif %}<a class="btn btn-secondary" href="https://www.imdb.com/find/?q={{movie.name}}" referrerpolicy="no-referrer">IMDB</a><a class="btn btn-secondary" href="https://www.csfd.cz/hledat/?q={{movie.name}}" referrerpolicy="no-referrer">ČSFD</a></div>
|
||||
<h2>Votes</h2>
|
||||
{% if votes|length == 0 %}
|
||||
<p>Nobody voted yet, be first...</p>
|
||||
|
Loading…
Reference in New Issue
Block a user