File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 1414 <form class="ui form" method="post">
1515 {{.CsrfTokenHtml}}
1616 <table class="ui table unstackable tw-my-2">
17- <tr>
18- <th></th>
19- <th>{{ctx.Locale.Tr "settings.permission_not_set"}}</th>
20- <th>{{ctx.Locale.Tr "settings.permission_anonymous_read"}}</th>
21- <th>{{ctx.Locale.Tr "settings.permission_everyone_read"}}</th>
22- <th>{{ctx.Locale.Tr "settings.permission_everyone_write"}}</th>
23- </tr>
17+ <thead>
18+ <tr>
19+ <th>{{ctx.Locale.Tr "units.unit"}}</th>
20+ <th class="tw-text-center">{{ctx.Locale.Tr "settings.permission_not_set"}}</th>
21+ <th class="tw-text-center">{{ctx.Locale.Tr "settings.permission_anonymous_read"}}</th>
22+ <th class="tw-text-center">{{ctx.Locale.Tr "settings.permission_everyone_read"}}</th>
23+ <th class="tw-text-center">{{ctx.Locale.Tr "settings.permission_everyone_write"}}</th>
24+ </tr>
25+ </thead>
26+ <tbody>
2427 {{range $ua := .RepoUnitPublicAccesses}}
2528 <tr>
2629 <td>{{$ua.DisplayName}}</td>
3639 </td>
3740 </tr>
3841 {{end}}
42+ </tbody>
3943 </table>
4044 <ul class="tw-my-3 tw-pl-5 tw-flex tw-flex-col tw-gap-3">
4145 <li>{{ctx.Locale.Tr "repo.settings.public_access.docs.not_set"}}</li>
You can’t perform that action at this time.
0 commit comments