@ -29,33 +29,37 @@
< / ng-container >
< ng-container * ngIf = "contributorsState.contributorsPaged | async; let contributors" >
< ng-container * ngIf = "contributorsState.canCreate | async" >
< sqx-contributor-add-form > < / sqx-contributor-add-form >
< div class = "import-hint" >
< sqx-form-hint class = "text-right" >
Big team? < a class = "force" ( click ) = " importDialog . show ( ) " > Add many contributors at once< / a >
< / sqx-form-hint >
< / div >
< / ng-container >
< ng-container * ngIf = "contributors.length > 0; else noContributors" >
< table class = "table table-items table-fixed" * ngIf = "rolesState.roles | async; let roles" >
< tbody * ngFor = "let contributor of contributors; trackBy: trackByContributor"
[sqxContributor]="contributor"
[search]="contributorsState.snapshot.queryRegex"
< ng-container * ngIf = "rolesState.roles | async; let roles" >
< ng-container * ngIf = "contributorsState.canCreate | async" >
< sqx-contributor-add-form
[roles]="roles">
< / tbody >
< / table >
< / sqx-contributor-add-form >
< sqx-pager [ pager ] = " contributorsState . contributorsPager | async " [ autoHide ] = " true " ( prevPage ) = " goPrev ( ) " ( nextPage ) = " goNext ( ) " > < / sqx-pager >
< / ng-container >
< div class = "import-hint" >
< sqx-form-hint class = "text-right" >
Big team? < a class = "force" ( click ) = " importDialog . show ( ) " > Add many contributors at once< / a >
< / sqx-form-hint >
< / div >
< / ng-container >
< ng-container * ngIf = "contributors.length > 0; else noContributors" >
< table class = "table table-items table-fixed" >
< tbody * ngFor = "let contributor of contributors; trackBy: trackByContributor"
[sqxContributor]="contributor"
[search]="contributorsState.snapshot.queryRegex"
[roles]="roles">
< / tbody >
< / table >
< sqx-pager [ pager ] = " contributorsState . contributorsPager | async " [ autoHide ] = " true " ( prevPage ) = " goPrev ( ) " ( nextPage ) = " goNext ( ) " > < / sqx-pager >
< / ng-container >
< ng-template # noContributors >
< div class = "table-items-row table-items-row-empty" >
No contributors found.
< / div >
< / ng-template >
< ng-template # noContributors >
< div class = "table-items-row table-items-row-empty" >
No contributors found.
< / div >
< / ng-template >
< / ng-container >
< / ng-container >
< / ng-container >
< / ng-container >