show button when non-proxy partner has no expiry date
<hr>
{% endif %}
<i class="fa fa-info-circle" aria-hidden="true" title="Partner description page"></i> <strong><a href="{% url 'partners:detail' each_authorization.partner.pk %}">{{ each_authorization.partner }}</a></strong>
- {% if each_authorization.date_expires %}
- {% if each_authorization.about_to_expire or not each_authorization.is_valid %}
+ {% if each_authorization.date_expires and each_authorization.about_to_expire or not each_authorization.is_valid or not each_authorization.partner.authorization_method == each_authorization.partner.PROXY and not each_authorization.partner.authorization_method == each_authorization.partner.BUNDLE %}
{% if each_authorization.latest_app and not each_authorization.open_app %}
{% comment %} Translators: Hovertext for when renewals for a partner is not available and the renew button is disabled. {% endcomment %}
<span class="pull-right" {% if not each_authorization.partner.renewals_available %}title="{% trans 'Renewals are not available for this partner' %}"{% endif %}>
{% comment %} Translators: Labels the button that links to the application page itself if the applications is already renewed. {% endcomment %}
<a href="{% url 'applications:evaluate' each_authorization.open_app.pk %}" class="btn btn-primary pull-right" role="button">{% trans 'View application' %}</a><div class="clearfix"></div>
{% endif %}
+ {% if each_authorization.date_expires %}
<span class="pull-right" {% if each_authorization.about_to_expire %}style="color: #bf4d3d"{% endif %}>
<small>
{% if not each_authorization.is_valid %}
