{% extends "base.html" %} {# Template for the url output page. Copyright © 2009-2015 Jan Dittberner This file is part of Debian Member Portfolio Service. Debian Member Portfolio Service is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Debian Member Portfolio Service is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . #} {% block title %}{{ super() }} - {{ _('Your personal links') }}{% endblock %} {% block body %}{{ super() }} {% if urldata %} {{ _('Debian Member Porfolio') }} {{ _('Usage') }}{{ _('URL') }} {% for row in urldata %} {% if row[0] == 'section' %} {{ row[2] }} {% set urlclass = 'odd' %} {% elif row[0] == 'error' %} {{ row[4] }} {{ _('Error during URL creation:') }} {{ row[3]|replace("\n", "") }} {% else %} {{ row[4]|safe }} {% if row[2].type == 'url' %} {{ row[3]|truncate(120) }} {% else %} {{ row[3] }} {% endif %} {% if urlclass == "odd" %}{% set urlclass = "even" %}{% else %}{% set urlclass = "odd" %}{% endif %} {% endif %} {% endfor %} {% endif %} {{ _('Restart') }} {% endblock body %}
{{ _('Restart') }}