From 28ccf5eafaa3fdc75bfbf004d3a68b45170b293a Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Sep 10 2018 03:59:24 +0000 Subject: tidy tooltips on PR list and Issue list pages Makes the tooltips for the metadata items on the right use actual tooltips. Additionally, updates the assigned to tooltip to say "assigned to $user" Fixes: #3621 --- diff --git a/pagure/templates/_render_issues.html b/pagure/templates/_render_issues.html index a7ae946..a44a90a 100644 --- a/pagure/templates/_render_issues.html +++ b/pagure/templates/_render_issues.html @@ -28,18 +28,18 @@
{% if issue.priority is not none %} - {{ repo.priorities[issue.priority | string] }} + {{ repo.priorities[issue.priority | string] }} {% endif %} {% if issue.assignee %} - + {{ issue.assignee.username | avatar(size=20) | safe}} {% endif %} {% if issue.user_comments|count > 0 %} - + {{issue.user_comments|count}} diff --git a/pagure/templates/_render_pullrequests.html b/pagure/templates/_render_pullrequests.html index d5e5abc..e229e22 100644 --- a/pagure/templates/_render_pullrequests.html +++ b/pagure/templates/_render_pullrequests.html @@ -28,18 +28,18 @@ {% if request.assignee %} - + {{ request.assignee.username | avatar(size=20) | safe}} {% endif %} - + {{request.branch}} - + {{request.user_comments|count}}