Skip to content

Commit 4cd5fb0

Browse files
committed
feat: rename services tab to information and move to second position
1 parent afb6ed2 commit 4cd5fb0

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

src/app/community/community.component.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,7 @@
4747
<p i18n>No Voices available.</p>
4848
</ng-template>
4949
</mat-tab>
50-
<mat-tab [label]="leadersTabLabel" *ngIf="isLoggedIn">
51-
<div class="card-grid">
52-
<mat-card *ngFor="let councillor of councillors">
53-
<planet-teams-member
54-
[leadershipTitle]="councillor.doc.leadershipTitle"
55-
[member]="councillor"
56-
[actionMenu]="!planetCode && (user.roles.indexOf('_admin') > -1 || user.roles.indexOf('manager') > -1) ? [ 'title' ] : []"
57-
(actionClick)="openChangeTitleDialog($event)">
58-
</planet-teams-member>
59-
</mat-card>
60-
</div>
61-
</mat-tab>
62-
<mat-tab i18n-label label="Services" *ngIf="isLoggedIn">
50+
<mat-tab i18n-label label="Information" *ngIf="isLoggedIn">
6351
<b i18n>{ configuration.planetType, select, community {Community} nation {Nation} center {Earth}} Description</b>
6452
<ng-container *ngIf="!planetCode">
6553
</ng-container>
@@ -109,6 +97,18 @@ <h3 mat-subheader i18n>Social & Web</h3>
10997
</button>
11098
</div>
11199
</mat-tab>
100+
<mat-tab [label]="leadersTabLabel" *ngIf="isLoggedIn">
101+
<div class="card-grid">
102+
<mat-card *ngFor="let councillor of councillors">
103+
<planet-teams-member
104+
[leadershipTitle]="councillor.doc.leadershipTitle"
105+
[member]="councillor"
106+
[actionMenu]="!planetCode && (user.roles.indexOf('_admin') > -1 || user.roles.indexOf('manager') > -1) ? [ 'title' ] : []"
107+
(actionClick)="openChangeTitleDialog($event)">
108+
</planet-teams-member>
109+
</mat-card>
110+
</div>
111+
</mat-tab>
112112
<mat-tab *ngIf="configuration.planetType==='nation' && isLoggedIn" i18n-label label="Communities">
113113
<planet-community-list></planet-community-list>
114114
</mat-tab>

0 commit comments

Comments
 (0)