Skip to content

Commit c7531dd

Browse files
committed
fixed bug with contributors
1 parent 5165ab9 commit c7531dd

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

website/templates/project/contributors.mako

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,45 @@
6363
<p class="m-b-xs">Drag and drop contributors to change listing order.</p>
6464
% endif
6565

66+
<div data-bind="filters: {
67+
items: ['.contrib', '.admin'],
68+
toggleClass: 'btn-default btn-primary',
69+
manualRemove: true,
70+
groups: {
71+
permissionFilter: {
72+
filter: '.permission-filter',
73+
type: 'text',
74+
buttons: {
75+
admins: 'Administrator',
76+
write: 'Read + Write',
77+
read: 'Read'
78+
}
79+
},
80+
visibleFilter: {
81+
filter: '.visible-filter',
82+
type: 'checkbox',
83+
buttons: {
84+
visible: true,
85+
notVisible: false
86+
}
87+
}
88+
},
89+
inputs: {
90+
nameSearch: '.name-search'
91+
}
92+
}">
93+
<table id="manageContributorsTable"
94+
class="table responsive-table responsive-table-xxs"
95+
data-bind="template: {
96+
name: 'contribTable',
97+
afterRender: afterRender,
98+
options: {
99+
containment: '#manageContributors'
100+
},
101+
data: 'contrib'
102+
}">
103+
</table>
104+
</div>
66105
<div data-bind="visible: $root.empty" class="no-items text-danger m-b-md">
67106
No contributors found
68107
</div>

0 commit comments

Comments
 (0)