File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,13 @@ <h3>{%if user.is_authenticated%}Open patches you are subscribed to{%elif p.is_op
6565 < td > < a href ="/{{p.cf_id}}/ "> < span class ="label label-{{p.cf_status|commitfeststatuslabel}} "> {{p.cf_name}}</ span > </ a > </ td >
6666 {%endif%}
6767 < td > < span class ="label label-{{p.status|patchstatuslabel}} "> {{p.status|patchstatusstring}}</ span > </ td >
68+ < td style ="width: min-content; ">
69+ {%for t in p.tag_ids%}
70+ < a href ="?tag={{t}} ">
71+ < span class ="label " style ="background: {{all_tags|tagcolor:t}}; " title ="{{all_tags|tagdescription:t}} "> {{all_tags|tagname:t}}</ span >
72+ </ a >
73+ {%endfor%}
74+ </ td >
6875 < td > {%if p.targetversion%}< span class ="label label-default "> {{p.targetversion}}</ span > {%endif%}</ td >
6976 < td class ="cfbot-summary ">
7077 {%with p.cfbot_results as cfb%}
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ def me(request):
142142 "title" : "Personal Dashboard" ,
143143 "patches" : patch_list .patches ,
144144 "statussummary" : statussummary ,
145+ "all_tags" : {t .id : t for t in Tag .objects .all ()},
145146 "has_filter" : patch_list .has_filter ,
146147 "grouping" : patch_list .sortkey == 0 ,
147148 "sortkey" : patch_list .sortkey ,
You can’t perform that action at this time.
0 commit comments