Skip to content

Commit a581b48

Browse files
committed
Remove "Select" column for staff on homepage
On the commitfest page the checkboxes in this can be used to send emails to authors or reviewers of a patch. Right now there's no such functionality on the homepage, so these buttons are unnecessary there.
1 parent 909aa91 commit a581b48

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

pgcommitfest/commitfest/templates/home.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,14 @@ <h3>{%if user.is_authenticated%}Open patches you are subscribed to{%elif p.is_op
3737
<th>Committer</th>
3838
<th><a href="#" style="color:#333333;" onclick="return sortpatches(3);">Num cfs</a>{%if sortkey == 3%}<div style="float:right;"><i class="glyphicon glyphicon-arrow-down"></i></div>{%elif sortkey == -3%}<div style="float:right;"><i class="glyphicon glyphicon-arrow-up"></i></div>{%endif%}</th>
3939
<th><a href="#" style="color:#333333;" onclick="return sortpatches(2);">Latest mail</a>{%if sortkey == 2%}<div style="float:right;"><i class="glyphicon glyphicon-arrow-down"></i></div>{%elif sortkey == -2%}<div style="float:right;"><i class="glyphicon glyphicon-arrow-up"></i></div>{%endif%}</th>
40-
{%if user.is_staff%}
41-
<th>Select</th>
42-
{%endif%}
4340
</tr>
4441
</thead>
4542
<tbody>
4643
{%endifchanged%}
4744

4845
{%if grouping%}
4946
{%ifchanged p.topic%}
50-
<tr><th colspan="{%if user.is_staff%}13{%elif user.is_authenticated %}12{%else%}11{%endif%}">{{p.topic}}</th></tr>
47+
<tr><th colspan="{%if user.is_authenticated %}12{%else%}11{%endif%}">{{p.topic}}</th></tr>
5148
{%endifchanged%}
5249
{%endif%}
5350
<tr>
@@ -94,9 +91,6 @@ <h3>{%if user.is_authenticated%}Open patches you are subscribed to{%elif p.is_op
9491
<td>{{p.committer|default:''}}</td>
9592
<td>{{p.num_cfs}}</td>
9693
<td style="white-space: nowrap;" title="{{p.lastmail}}">{%if p.lastmail %}{{p.lastmail|timesince}} ago{%endif%}</td>
97-
{%if user.is_staff%}
98-
<td style="white-space: nowrap;"><input type="checkbox" class="sender_checkbox" id="send_authors_{{p.id}}">Author<br/><input type="checkbox" class="sender_checkbox" id="send_reviewers_{{p.id}}">Reviewer</td>
99-
{%endif%}
10094
</tr>
10195
{%if forloop.last%}
10296
</tbody>

0 commit comments

Comments
 (0)