Skip to content

Commit 7a6eb1a

Browse files
authored
Fix part of oppia#19570: Making headers of stats table in contributor admin dashboard more meaningful (oppia#19754)
* changed headers in user stats in contributor admin dashboard. * added dynamic header for each tab
1 parent b0542af commit 7a6eb1a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

core/templates/pages/contributor-dashboard-admin-page/contributor-dashboard-tables/contributor-admin-stats-table.component.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,22 @@ <h2>{{ noDataMessage }}</h2>
3434
*ngIf="!loadingMessage && !noDataMessage">
3535

3636
<ng-container matColumnDef="contributorName">
37-
<th mat-header-cell *matHeaderCellDef class="user-header"><b> User </b></th>
37+
<th mat-header-cell *matHeaderCellDef class="user-header"><b> {{ this.inputs.activeTab }} </b></th>
3838
<td mat-cell *matCellDef="let element" class="user-value">
39-
<span class="mobile-label">User:</span>
39+
<span class="mobile-label">{{ this.inputs.activeTab }}:</span>
4040
<b> {{ element.contributorName }} </b>
4141
</td>
4242
</ng-container>
4343

4444
<ng-container matColumnDef="recentPerformance">
4545
<th mat-header-cell *matHeaderCellDef>
4646
<b>
47-
Performance
47+
Recent Performance
4848
<i class="fas fa-info-circle" matTooltip="Performance is calculated based on the review results of the last 100 accepted/rejected contributions."></i>
4949
</b>
5050
</th>
5151
<td mat-cell *matCellDef="let element">
52-
<span class="mobile-label">Performance
52+
<span class="mobile-label">Recent Performance
5353
<i class="fas fa-info-circle" matTooltip="Performance is calculated based on the review results of the last 100 accepted/rejected contributions." #performanceTooltip="matTooltip" (click)="performanceTooltip.toggle()">
5454
</i>:
5555
</span>
@@ -60,14 +60,14 @@ <h2>{{ noDataMessage }}</h2>
6060
<ng-container matColumnDef="overallAccuracy">
6161
<th mat-header-cell *matHeaderCellDef>
6262
<b>
63-
Accuracy
63+
Overall Accuracy
6464
<i class="fas fa-info-circle"
6565
matTooltip="Accuracy is based on the ratio of accepted to submitted translations.">
6666
</i>
6767
</b>
6868
</th>
6969
<td mat-cell *matCellDef="let element">
70-
<span class="mobile-label">Accuracy
70+
<span class="mobile-label">Overall Accuracy
7171
<i class="fas fa-info-circle"
7272
matTooltip="Accuracy is based on the ratio of accepted to submitted translations." #accuracyTooltip="matTooltip" (click)="accuracyTooltip.toggle()">
7373
</i>:

0 commit comments

Comments
 (0)