Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

community: improve news (fixes #7295) #7307

Closed
wants to merge 7 commits into from
Prev Previous commit
Next Next commit
Replace the news tab && New Voices button alignment
  • Loading branch information
Mutugiii committed Nov 6, 2023
commit 9e9eabcb3d558bd19f46009e480a35fa9940b2d3
5 changes: 2 additions & 3 deletions src/app/community/community.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
<div class="view-container view-full-height community-view">
<div class="community-news">
<mat-tab-group class="tabs-padding" (selectedTabChange)="tabChanged($event)">
<mat-tab i18n-label label="News">
<h3>
<span i18n>Your Voices</span>
<mat-tab i18n-label label="Voices">
<h3 style="text-align: right; margin-right: 0.5rem;">
<ng-container *planetAuthorizedRoles="'learner'">
<button mat-stroked-button (click)="openAddMessageDialog()" *ngIf="showNewsButton" i18n>New Voice</button>
</ng-container>
Expand Down