datatracker/ietf/templates/group/all_status.html
Lars Eggert 3a47871f5e
fix: More dark mode fixes (#6001)
* fix: More small dark mode fixes

* "badge rounded-pill bg-" -> "badge rounded-pill text-bg-"

This sets the text color correctly for more readable badges.

* Same for cards

* Fix tests
2023-07-20 13:48:52 -05:00

45 lines
1.8 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load static %}
{% load django_bootstrap5 %}
{% load ietf_filters %}
{% load textfilters %}
{% block title %}Status updates{% endblock %}
{% block content %}
{% origin %}
<h1>Status updates</h1>
{% regroup wg_reports by group.parent as area_items %}
{% for area_item in area_items %}
<h2 class="mt-3">{{ area_item.grouper.name }} ({{ area_item.grouper.acronym|upper }})</h2>
{% for rpt in area_item.list %}
<div class="card my-3">
<div class="card-header">
{{ rpt.group.acronym }}
{% if rpt.group.state.slug != "active" %}
<span class="badge rounded-pill text-bg-success">{{ rpt.group.state.slug|upper }}</span>
{% endif %}
{{ rpt.time|date:"Y-m-d" }}
</div>
<div class="card-body">
<pre class="pasted">{{ rpt.desc|default:"(none)"|urlize_ietf_docs|linkify }}</pre>
</div>
</div>
{% endfor %}
{% endfor %}
<h2 class="mt-3">Internet Research Task Force (IRTF)</h2>
{% for rpt in rg_reports %}
<div class="card my-3">
<div class="card-header">
{{ rpt.group.acronym }}
{% if rpt.group.state.slug != "active" %}
<span class="badge rounded-pill text-bg-success">{{ rpt.group.state.slug|upper }}</span>
{% endif %}
{{ rpt.time|date:"Y-m-d" }}
</div>
<div class="card-body">
<pre class="pasted">{{ rpt.desc|default:"(none)"|urlize_ietf_docs|linkify }}</pre>
</div>
</div>
{% endfor %}
{% endblock %}