48
48
</ tbody>
49
49
</ table>
50
50
{%endif%}
51
- < h3 > {{p.is_open |yesno:"Active patches,Closed patches "}}</ h3 >
51
+ < h3 > {{user.is_authenticated |yesno:"Your personal dashboard,Patches in the current commitfest "}}</ h3 >
52
52
< table class ="table table-striped table-bordered table-hover table-condensed ">
53
53
< thead >
54
54
< tr >
55
55
< th > < a href ="# " style ="color:#333333; " onclick ="return sortpatches(5); "> Patch</ a > {%if sortkey == 5%}< div style ="float:right; "> < i class ="glyphicon glyphicon-arrow-down "> </ i > </ div > {%elif sortkey == -5%}< div style ="float:right; "> < i class ="glyphicon glyphicon-arrow-up "> </ i > </ div > {%endif%}</ th >
56
56
< th > < a href ="# " style ="color:#333333; " onclick ="return sortpatches(4); "> ID</ a > {%if sortkey == 4%}< div style ="float:right; "> < i class ="glyphicon glyphicon-arrow-down "> </ i > </ div > {%elif sortkey == -4%}< div style ="float:right; "> < i class ="glyphicon glyphicon-arrow-up "> </ i > </ div > {%endif%}</ th >
57
- < th > < a href ="# " style ="color:#333333; " onclick ="return sortpatches(8); "> CF</ a > {%if sortkey == 8%}< div style ="float:right; "> < i class ="glyphicon glyphicon-arrow-down "> </ i > </ div > {%elif sortkey == -8%}< div style ="float:right; "> < i class ="glyphicon glyphicon-arrow-up "> </ i > </ div > {%endif%}</ th >
57
+ {%if user.is_authenticated %}
58
+ < th > < a href ="# " style ="color:#333333; " onclick ="return sortpatches(8); "> CF</ a > {%if sortkey == 8%}< div style ="float:right; "> < i class ="glyphicon glyphicon-arrow-down "> </ i > </ div > {%elif sortkey == -8%}< div style ="float:right; "> < i class ="glyphicon glyphicon-arrow-up "> </ i > </ div > {%endif%}</ th >
59
+ {%endif%}
58
60
< th > Status</ th >
59
61
< th > Ver</ th >
60
62
< th > < a href ="# " style ="color:#333333; " onclick ="return sortpatches(7); "> CI status</ a > {%if sortkey == 7%}< div style ="float:right; "> < i class ="glyphicon glyphicon-arrow-down "> </ i > </ div > {%elif sortkey == -7%}< div style ="float:right; "> < i class ="glyphicon glyphicon-arrow-up "> </ i > </ div > {%endif%}</ th >
@@ -74,13 +76,15 @@ <h3>{{p.is_open|yesno:"Active patches,Closed patches"}}</h3>
74
76
75
77
{%if grouping%}
76
78
{%ifchanged p.topic%}
77
- < tr > < th colspan ="{%if user.is_staff%}11{% else%}10 {%endif%} "> {{p.topic}}</ th > </ tr >
79
+ < tr > < th colspan ="{%if user.is_staff%}13{%elif user.is_authenticated %}12{% else%}11 {%endif%} "> {{p.topic}}</ th > </ tr >
78
80
{%endifchanged%}
79
81
{%endif%}
80
82
< tr >
81
83
< td > < a href ="/patch/{{p.id}}/ "> {{p.name}}</ a > </ td >
82
84
< td > {{p.id}}</ td >
83
- < td > < a href ="/{{p.cf_id}}/ "> < span class ="label label-{{p.cf_status|commitfeststatuslabel}} "> {{p.cf_name}}</ span > </ a > </ td >
85
+ {%if user.is_authenticated %}
86
+ < td > < a href ="/{{p.cf_id}}/ "> < span class ="label label-{{p.cf_status|commitfeststatuslabel}} "> {{p.cf_name}}</ span > </ a > </ td >
87
+ {%endif%}
84
88
< td > < span class ="label label-{{p.status|patchstatuslabel}} "> {{p.status|patchstatusstring}}</ span > </ td >
85
89
< td > {%if p.targetversion%}< span class ="label label-default "> {{p.targetversion}}</ span > {%endif%}</ td >
86
90
< td class ="cfbot-summary ">
0 commit comments