Commit 2b1b24ee authored by Simon Daron's avatar Simon Daron

Add news roll tpl

parent c6da002d
......@@ -242,6 +242,7 @@ body{
border-bottom:1px solid #000;
background:#003446;
/*
background:#003446;
-moz-box-shadow: 0px 0px 100px rgb(0, 0, 0) inset;
-webkit-box-shadow: 0px 0px 100px rgb(0, 0, 0) inset;
box-shadow: 0px 0px 100px rgb(0, 0, 0) inset;
......
{% load thumbnails %}
<div class="newsRoll center wrapper">
<ul class="custom distributed">
<li class="title">
<h4 class="label vertical">News</h4>
</li>
{% for content in news %}
<li class="{% if forloop.counter > 3 %}largeScreens{% endif %}">
<a class="block news relative" href="{% url 'news-view' slug=content.slug %}">
{% if content.image %}
<div class="absolute">
<h5 class="title ellipsis">{{content.title}}</h5>
</div>
<img class="logo" src="{{ content.image|thumbnail:'240x320' }}"/>
{% endif %}
</a>
</li>
{% endfor %}
</ul>
</div>
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