File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 1
1
{%extends "base.html"%}
2
2
{%load commitfest %}
3
3
{%block contents%}
4
- < p >
5
- < br />
6
- < b > Status summary: </ b > {%for id,title,num in statussummary%}< a href ="?status={{id}} "> {{title}}</ a > : {{num}}. {%endfor%}
7
- </ p >
8
-
9
4
< a class ="btn btn-default " href ="/open/new/ "> New patch</ a >
10
5
< a class ="btn btn-default " href ="/current/ "> Current commitfest</ a > </ li>
11
6
< a class ="btn btn-default " href ="/open/ "> Open commitfest</ a > </ li>
16
11
</ div >
17
12
< button type ="submit " class ="btn btn-default "> Search</ button >
18
13
</ form >
14
+
15
+ < p >
16
+ < br />
17
+ < b > Status summary: </ b > {%for id,title,num in statussummary%}< a href ="?status={{id}} "> {{title}}</ a > : {{num}}. {%endfor%}
18
+ </ p >
19
+
20
+
19
21
{%include "filter_form.html" %}
20
22
{%for p in patches %}
21
23
{%ifchanged p.is_open%}
Original file line number Diff line number Diff line change @@ -95,18 +95,15 @@ def me(request):
95
95
INNER JOIN commitfest_patchstatus ps ON ps.status=poc.status
96
96
LEFT JOIN commitfest_patch_authors pa ON pa.patch_id=poc.patch_id
97
97
LEFT JOIN commitfest_patch_reviewers pr ON pr.patch_id=poc.patch_id
98
- LEFT JOIN commitfest_patch_subscribers psubs ON psubs.patch_id=poc.patch_id
99
- WHERE commitfest_id=%(id)s
98
+ WHERE commitfest_id=%(id)s
100
99
AND (
101
- pa.user_id=%(user_id)s
100
+ pa.user_id=%(user_id)s
102
101
OR pr.user_id=%(user_id)s
103
- OR psubs.user_id=%(user_id)s
104
102
)
105
103
GROUP BY ps.status ORDER BY ps.sortkey""" ,
106
104
{"id" : cf .id , "user_id" : request .user .id },
107
105
)
108
106
statussummary = curs .fetchall ()
109
- print (statussummary )
110
107
111
108
return render (
112
109
request ,
You can’t perform that action at this time.
0 commit comments