Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ node_modules/
!.vscode/extensions.json

# misc
/.angular/cache
/.angular/cache
/.sass-cache
/connect.lock
/coverage
Expand Down
27 changes: 13 additions & 14 deletions src/app/community/community.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,8 @@
<p i18n>No Voices available.</p>
</ng-template>
</mat-tab>
<mat-tab [label]="leadersTabLabel" *ngIf="isLoggedIn">
<div class="card-grid">
<mat-card *ngFor="let councillor of councillors">
<planet-teams-member
[leadershipTitle]="councillor.doc.leadershipTitle"
[member]="councillor"
[actionMenu]="!planetCode && (user.roles.indexOf('_admin') > -1 || user.roles.indexOf('manager') > -1) ? [ 'title' ] : []"
(actionClick)="openChangeTitleDialog($event)">
</planet-teams-member>
</mat-card>
</div>
</mat-tab>
<mat-tab i18n-label label="Services" *ngIf="isLoggedIn">
<mat-tab i18n-label label="Information" *ngIf="isLoggedIn">
<b i18n>{ configuration.planetType, select, community {Community} nation {Nation} center {Earth}} Description</b>
<ng-container *ngIf="!planetCode">
</ng-container>
<p><planet-markdown *ngIf="team.description; else noTeamDesc" [content]="team.description || ''"></planet-markdown></p>
<ng-template #noTeamDesc><p i18n>No description available.</p></ng-template>
Expand Down Expand Up @@ -109,6 +96,18 @@ <h3 mat-subheader i18n>Social & Web</h3>
</button>
</div>
</mat-tab>
<mat-tab [label]="leadersTabLabel" *ngIf="isLoggedIn">
<div class="card-grid">
<mat-card *ngFor="let councillor of councillors">
<planet-teams-member
[leadershipTitle]="councillor.doc.leadershipTitle"
[member]="councillor"
[actionMenu]="!planetCode && (user.roles.indexOf('_admin') > -1 || user.roles.indexOf('manager') > -1) ? [ 'title' ] : []"
(actionClick)="openChangeTitleDialog($event)">
</planet-teams-member>
</mat-card>
</div>
</mat-tab>
<mat-tab *ngIf="configuration.planetType==='nation' && isLoggedIn" i18n-label label="Communities">
<planet-community-list></planet-community-list>
</mat-tab>
Expand Down
Loading