diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2014-11-22 16:34:08 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2014-11-22 16:34:08 +0100 |
commit | 808bd6e9cb9e07e2ae1d1f116b6b540e36bd64bc (patch) | |
tree | 03efd3c2d4f3f536731d12428da50123e73da256 /imdb-lookup/index.jinja2.html | |
parent | 01c94a1d87c0874a45c4b80bfb9e6a86cbbbcb82 (diff) | |
download | scripts-808bd6e9cb9e07e2ae1d1f116b6b540e36bd64bc.tar.gz scripts-808bd6e9cb9e07e2ae1d1f116b6b540e36bd64bc.zip |
handle no poster
Diffstat (limited to 'imdb-lookup/index.jinja2.html')
-rw-r--r-- | imdb-lookup/index.jinja2.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/imdb-lookup/index.jinja2.html b/imdb-lookup/index.jinja2.html index 42eed34..7271e91 100644 --- a/imdb-lookup/index.jinja2.html +++ b/imdb-lookup/index.jinja2.html @@ -14,7 +14,11 @@ <div style="clear: left; padding-top: 3em;"> <h2 style="">{{ info.title }}</h2> <div style="width: 185px; float: left;"> + {% if posterBase64 %} <img src="{{ posterBase64 }}" /> + {% else %} + <span> no image </span> + {% endif %} </div> <div style=""> <div style="font-size: 1.2em;"> |