Skip to content

Commit

Permalink
Update public groups
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmartyrk committed Oct 18, 2023
1 parent 0f5483d commit c5056c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
24 changes: 10 additions & 14 deletions src/app/public-groups/components/groups/groups.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,16 +232,16 @@ <h3 [innerHTML]="'VIEWS.PUBLIC_GROUPS.TITLE'| translate"></h3>
<span translate="VIEWS.PUBLIC_GROUPS.FILTERS.VISIBILITY"></span><a class="bold"
(click)="mobile_filters.visibility = true">{{(GroupService.params$ | async)?.visibility || 'All'}}</a>
</div>
<div class="filter_option">
<!--div class="filter_option">
<span translate="VIEWS.PUBLIC_GROUPS.FILTERS.MY_ENGAGEMENT"></span><a class="bold"
(click)="mobile_filters.my_engagement = true">{{'TXT_TOPIC_CATEGORY_ALL' | uppercase |
translate}}</a>
</div>
<div class="filter_option">
</!--div-->
<!--div class="filter_option">
<span translate="VIEWS.PUBLIC_GROUPS.FILTERS.CATEGORIES"></span><a class="bold"
(click)="mobile_filters.category = true">{{'TXT_TOPIC_CATEGORY_ALL' | uppercase |
translate}}</a>
</div>
</!--div-->
<div class="filter_option">
<span translate="VIEWS.PUBLIC_GROUPS.FILTERS.ORDER"></span><a class="bold"
(click)="mobile_filters.order = true">{{'TXT_TOPIC_CATEGORY_ALL' | uppercase |
Expand Down Expand Up @@ -295,17 +295,13 @@ <h3 [innerHTML]="'VIEWS.PUBLIC_GROUPS.TITLE'| translate"></h3>
<span class="checkmark"></span>
</label>

<div class="option" [routerLink]="['./']" [queryParams]="{pinned: 'true'}">
Pinned
</div>
<div class="option" [routerLink]="['./']" [queryParams]="{pinned: 'true'}" translate="VIEWS.PUBLIC_GROUPS.FILTERS.PINNED"></div>

<div class="option" [routerLink]="['./']" [queryParams]="{moderated: 'true'}">
Moderated
</div>
<div class="option" [routerLink]="['./']" [queryParams]="{moderated: 'true'}" translate="VIEWS.PUBLIC_GROUPS.FILTERS.MODERATED"></div>
<button class="btn_medium_secondary" (click)="mobile_filters.visibility= false;" translate="BTN_APPLY"></button>
</div>
<div class="overlay" *ngIf="mobile_filters.visibility || mobile_filters.category"></div>
<div class="options button_options" *ngIf="mobile_filters.category">
<!--div class="options button_options" *ngIf="mobile_filters.category">
<label class="checkbox">
<span translate="TXT_TOPIC_CATEGORY_ALL"></span>
<input type="radio" name="category">
Expand All @@ -319,8 +315,8 @@ <h3 [innerHTML]="'VIEWS.PUBLIC_GROUPS.TITLE'| translate"></h3>
</label>
<button class="btn_medium_secondary" (click)="mobile_filters.category= false;" translate="BTN_APPLY"></button>
</div>
<div class="options button_options" *ngIf="mobile_filters.my_engagement">
</!--div-->
<!--div class="options button_options" *ngIf="mobile_filters.my_engagement">
<label class="checkbox">
<span>My most recent activity</span>
<input type="radio" name="engagement">
Expand All @@ -337,7 +333,7 @@ <h3 [innerHTML]="'VIEWS.PUBLIC_GROUPS.TITLE'| translate"></h3>
<span class="checkmark"></span>
</label>
<button class="btn_medium_secondary" (click)="mobile_filters.my_engagement = false;" translate="BTN_APPLY"></button>
</div>
</!--div-->
<div class="options button_options" *ngIf="mobile_filters.order">
<label class="checkbox">
<span translate="VIEWS.PUBLIC_GROUPS.FILTERS.ORDER_RECENT_ACTIVITY"></span>
Expand Down
2 changes: 1 addition & 1 deletion src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ textarea {
gap: 8px;
padding: 16px 8px;
overflow-y: auto;

max-height: 300px;
&.filter_options {
padding: 16px 8px;
}
Expand Down

0 comments on commit c5056c9

Please sign in to comment.