+ Patch: 0001-Display-real-line-numbers-on-pull-request-s-diff-vie.patch + Patch: 0002-Show-the-assignee-s-avatar-on-the-board.patch + Patch: 0003-Allow-setting-a-status-as-closing-even-if-the-projec.patch + Patch: 0004-Include-the-assignee-in-the-list-of-people-notified-.patch + Patch: 0005-Introduce-the-collaborator_project_groups-mapping.patch + Patch: 0006-When-a-file-a-detected-as-a-binary-file-return-the-r.patch + Patch: 0007-Remove-fenced-code-block-when-checking-mention.patch + Patch: 0008-Add-support-for-using-cchardet-to-detect-files-encod.patch + Patch: 0009-Add-support-for-disabling-user-registration.patch - Remove mandatory dependency on systemd to ease containerization OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=46
34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
From d3fb1c32746580bb109ac21ff349a655a01c46f0 Mon Sep 17 00:00:00 2001
|
|
From: Pierre-Yves Chibon <pingou@pingoured.fr>
|
|
Date: Wed, 12 Aug 2020 20:47:22 +0200
|
|
Subject: [PATCH 2/9] Show the assignee's avatar on the board
|
|
|
|
If the ticket shown in the board is assigned to someone, show this
|
|
person's avatar. This helps not only seeing what is in progress or
|
|
blocked but also who is working on what or being blocked.
|
|
|
|
Fixes https://pagure.io/pagure/issue/4959
|
|
|
|
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
|
|
---
|
|
pagure/templates/board.html | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/pagure/templates/board.html b/pagure/templates/board.html
|
|
index 26509ae0..46a7eb65 100644
|
|
--- a/pagure/templates/board.html
|
|
+++ b/pagure/templates/board.html
|
|
@@ -65,6 +65,9 @@
|
|
{% elif bissue.issue.status == 'Closed' %}
|
|
<span class="fa fa-fw text-danger fa-exclamation-circle pt-1 icon_id"></span>
|
|
<span class="text-danger font-weight-bold id_txt">#{{ bissue.issue.id }}</span>
|
|
+ {% endif %}
|
|
+ {% if bissue.issue.assignee %}
|
|
+ - {{ bissue.issue.assignee.username | avatar(size=20) | safe}}
|
|
{% endif %}
|
|
- {{ bissue.issue.title | truncate(80, False, '...') }}
|
|
</a>
|
|
--
|
|
2.26.2
|
|
|