{# A program which manages Ubuntu-it's web test server # Copyright (C) 2015-2016 Pietro Albini # 2016 Luca Lumetti # # This program 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. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; witout 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 http://www.gnu.org/licenses/>. #} {% extends "layout.html" %} {% set title = "Branch disponibili" %} {% block content %} {% for branch in branches %} {% if branch.pinned %} {% else %} {% endif %} {% endfor %}
Nome branch Proprietario MR Commit
{{ branch.name }} {% set status = branch.status() %} {% if status == "deploying" %} Deploying {% elif status == "not_present" %} Not present {% elif status == "running" %} Running {% elif status == "broken" %} Broken {% else %} {{ status }} {% endif %} - - {{ branch.author }} !{{ branch.mr_id }} - {% if branch.has_build_log() %} Build log {% endif %} {% if branch.is_running() %} Istanza live {% endif %}
{% for branch in branches %}

{{ branch.name }} {% set status = branch.status() %} {% if status == "deploying" %} (deploying) {% elif status == "not_present" %} (not present) {% elif status == "running" %} (running) {% elif status == "broken" %} (broken) {% else %}({{ status }}){% endif %}

{% if not branch.pinned %} {% endif %}
    {% if branch.has_build_log() %}
  • Build log {% endif %}
  • {% if branch.is_running() %}
  • Istanza live
  • {% endif %}
{% endfor %}
{% if deploying %} {% endif %} {% endblock %}