cache short description
{% load staticfiles %}
{% load i18n %}
{% load l10n %}
+{% load cache %}
{% load twlight_wikicode2html %}
{% block content %}
</a>
{% else %}
<a href="{% url 'oauth_login' %}" class="btn btn-primary btn-block">
- <span class="glyphicon glyphicon-off"></span>&nbsp;
+ <span class="glyphicon glyphicon-off"></span>&nbsp
{% comment %} Translators: This message is shown on the button users click to log in to the website. {% endcomment %}
{% trans "Log in" %}
</a>
<a href="{% url 'partners:detail' partner.pk %}"><img src="{{ partner.logos.logo.url }}" alt="{{ partner }} logo" class="featured-partner-logo"></a>
</div>
<div class="col-md-9" style="display:inline-block;">
+ {% cache 31536000 partner_short_description LANGUAGE_CODE partner.pk %}
{{ partner.short_description | twlight_wikicode2html | safe |truncatechars:200}}
+ {% endcache %}
</div>
</div>
</div>
