Skip to content

Commit

Permalink
Rm default structure level the from account detail view (#3327)
Browse files Browse the repository at this point in the history
  • Loading branch information
reiterl authored Feb 21, 2024
1 parent f1ff1fe commit d29fd11
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,6 @@ <h2 *ngIf="!isNewUser">{{ user?.full_name }}</h2>
<ng-template #editView let-form="form">
<h2>{{ 'Organization specific information' | translate }}</h2>
<div [formGroup]="form">
<!-- Default Strucuture Level -->
<mat-form-field
class="distance"
[ngClass]="{
form37: true
}"
>
<mat-label>{{ 'Default structure level' | translate }}</mat-label>
<input type="text" matInput formControlName="default_structure_level" />
</mat-form-field>

<!-- Default Vote weight -->
<!-- TODO Input type should be number with limited decimal spaces -->
<mat-form-field class="form16 force-min-with">
Expand Down Expand Up @@ -100,11 +89,6 @@ <h2>{{ 'Organization specific information' | translate }}</h2>

<ng-template #showView let-user="user">
<h2>{{ 'Organization specific information' | translate }}</h2>
<!-- Structure level -->
<div *ngIf="user.default_structure_level">
<h4>{{ 'Default structure level' | translate }}</h4>
<span>{{ user.default_structure_level }}</span>
</div>

<div *ngIf="user.default_vote_weight || user.default_vote_weight === 0">
<h4>{{ 'Default vote weight' | translate }}</h4>
Expand Down

0 comments on commit d29fd11

Please sign in to comment.