Source

iredadmin-ose / templates / default / ldap / checknew.html

{# version, #}
{% extends "layout.html" %}

{% block js %}{% endblock js %}
{% block js_tablesorter %}{% endblock %}
{% block jquery_docoment_ready %} {% endblock %}
{% block title %} {{ _('Dashboard') }} {% endblock %}
{% block submenu %}{% endblock submenu %}

{% block main %}

<div class="main-frm">
    <div class="main-subhead">
        <h2 class="hn">{{ _('Check new version') }}</h2>
    </div>

    <div class="ct-group">
        <div class="ct-set group-item1">
            <div class="ct-box">
                <h3 class="ct-legend hn"><span>{{ _('Current iRedAdmin version') }}</span></h3>
                <p><span class="fld-input">{{ version }}</span></p>
            </div>
            <div class="ct-box">
                {% if info[0] is not sameas none %}
                    {% if info[0] |float > version |float %}
                    <h3 class="ct-legend hn"><span><strong>{{ _('New version available') }}</strong></span></h3>
                    <ul class="data-list">
                        <li><span>{{ info[0] |float }}</span></li>
                        <li><span><a href="{{ info[1] }}">{{ _('ChangeLog') }}</a></span></li>
                        <li><span><a href="{{ info[2] }}">{{ _('Download') }}</a></span></li>
                    </ul>
                    {% else %}
                    <h3 class="ct-legend hn"><span>{{ _('No new version available') }}</span></h3>
                    {% endif %}
                {% else %}
                    <h3 clss="ct-legend hn"><span>{{ _('Error while check new version') }}</span></h3>
                    <p><span>{{ info[1] }}</span></p>
                {% endif %}
            </div>
        </div>
    </div>
</div>

{% endblock main %}