From 6ac246c863e218f9f715f8369b10d4062c1051dc Mon Sep 17 00:00:00 2001 From: Mikko Nieminen Date: Wed, 18 Oct 2023 16:18:29 +0200 Subject: [PATCH] add common project badge (#1299, #1300) --- CHANGELOG.rst | 21 +++ appalerts/templates/appalerts/alert_list.html | 30 +--- docs/source/dev_resource.rst | 156 ++++++++++-------- docs/source/major_changes.rst | 1 + .../static/projectroles/css/projectroles.css | 12 ++ .../projectroles/_project_badge.html | 19 +++ timeline/templates/timeline/_list_item.html | 3 +- timeline/templates/timeline/_list_tour.html | 4 +- .../templates/timeline/_project_badge.html | 11 -- timeline/templates/timeline/_search_item.html | 2 +- 10 files changed, 151 insertions(+), 108 deletions(-) create mode 100644 projectroles/templates/projectroles/_project_badge.html delete mode 100644 timeline/templates/timeline/_project_badge.html diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b6018fe4..f378dd90 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,6 +8,21 @@ Changelog for the **SODAR Core** Django app package. Loosely follows the Unreleased ========== +Added +----- + +- **Projectroles** + - ``_project_badge.html`` template (#1300) + +Changed +------- + +- **Appalerts** + - Use projectroles project badge templage (#1300) +- **Timeline** + - Truncate long project titles in badge (#1299) + - Use projectroles project badge templage (#1300) + Fixed ----- @@ -17,6 +32,12 @@ Fixed - **Timeline** - ``get_timestamp()`` template tag crash from missing ``ProjectEventStatus`` (#1297) +Removed +------- + +- **Timeline** + - ``_project_badge.html`` template (#1300) + v0.13.2 (2023-09-21) ==================== diff --git a/appalerts/templates/appalerts/alert_list.html b/appalerts/templates/appalerts/alert_list.html index 2b040fc4..10cd9bee 100644 --- a/appalerts/templates/appalerts/alert_list.html +++ b/appalerts/templates/appalerts/alert_list.html @@ -9,16 +9,6 @@ {% block css %} {{ block.super }}