Commit c9302475 authored by Simon Daron's avatar Simon Daron
Browse files

teInline emissions add text cutted as default description

parent 02075d37
......@@ -352,6 +352,16 @@ a, .menuEmissions a, a:visited, .menuEmissions a:visited, a:active, .menuEmissio
.emission .control .listen{
line-height:5em;
}
.emission .URL{
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.emission .contact{
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.emission .mainHeader {
overflow: hidden;
......
......@@ -30,8 +30,8 @@
{{ emission.description|safe|striptags }}
</h4>
{% endif %}
<div class="link">www.lecroissantfertile.com</div>
<div class="link">info@lecroissantfertile.com </div>
<div class="URL">http://www.lecroissantfertile.com</div>
<div class="contact">info@lecroissantfertile.com </div>
</div>
<img class="logo" src="http://placehold.it/280X180"/>
......
......@@ -15,9 +15,13 @@
<h5 class="title">{{ emission.title }}</h5>
{% if emission.description %}
<div class="description">
{{ emission.description|safe|striptags }}
</div>
<div class="description">
{{ emission.description|safe|striptags }}
</div>
{% elif emission.text %}
<div class="description">
{{ emission.text|safe|striptags|truncatewords:20}}
</div>
{% endif %}
</a>
</div>
......
Supports Markdown
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