comparison templates/default/roadmap/roadmap.html @ 26:0fe78d74a792

new roadmap page
author Goffi <goffi@goffi.org>
date Mon, 22 May 2023 15:27:23 +0200
parents
children
comparison
equal deleted inserted replaced
25:91e2f18bbbbb 26:0fe78d74a792
1 {% if not embedded %}{% extends 'base/base.html' %}{% endif %}
2
3 {% block body %}
4 <section class="section">
5 <div class="container">
6 <h1 class="title">{% trans %}Project Roadmap{% endtrans %}</h1>
7 <div class="message is-info">
8 <div class="message-body">
9 <p>
10 {% trans changelog_url='<a href="https://repos.goffi.org/libervia-backend/raw-file/tip/CHANGELOG" target="_blank">CHANGELOG</a>'|safe-%}
11 Please note that this roadmap doesn't cover all planned work.<br>
12 For a more detailed look at what has been achieved so far and what is coming up in the next release, check our {{changelog_url}}.
13 {%- endtrans %}
14 </p>
15 </div>
16 </div>
17 <ul>
18 {% for milestone in milestones %}
19 <li class="box">
20 <p class="title is-4 {{ 'has-text-success-dark' if milestone.status.lower() == 'c' else 'has-text-warning-dark' if milestone.status.lower() == 'p' else 'has-text-grey-light' }}">
21 {% if milestone.status.lower() == 'c' %}<del>{% endif %}
22 <strong>{{ milestone.title }}</strong>
23 {% if milestone.release_number %}
24 - {% trans %}Release{% endtrans %} <strong>{{ milestone.release_number }}</strong>
25 {% else %}
26 - 🚀 {% trans %}Future Release{% endtrans %}
27 {% endif %}
28 {% if milestone.status.lower() == 'c' %}</del>{% endif %}
29 </p>
30 {% if milestone.description %}
31 <p class="subtitle is-6"><strong>{% trans %}Description:{% endtrans %}</strong> {{ milestone.description }}</p>
32 {% endif %}
33 {% if milestone.estimation %}
34 <p><strong>{% trans %}Estimation:{% endtrans %}</strong> {{ milestone.estimation }}</p>
35 {% endif %}
36 <p><strong>{% trans %}Status:{% endtrans %}</strong>
37 {% if milestone.status.lower() == 'c' %}
38 ✅ {% trans %}Completed{% endtrans %}
39 {% elif milestone.status.lower() == 'p' %}
40 🚧 {% trans %}In Progress{% endtrans %}
41 {% else %}
42 📅 {% trans %}Planned{% endtrans %}
43 {% endif %}
44 </p>
45 </li>
46 {% endfor %}
47 </ul>
48 </div>
49 </section>
50 {% endblock body %}