Skip to content

Commit 9ba1b72

Browse files
committed
fix: Fixes many smaller layout issues in the read-only product views
Fixes many smaller layout issues in the read-only product views: loan, saving and share product FIXES: WEB-219
1 parent a4f675d commit 9ba1b72

File tree

24 files changed

+898
-844
lines changed

24 files changed

+898
-844
lines changed

src/app/organization/fund-mapping/fund-mapping.component.html

Lines changed: 167 additions & 165 deletions
Large diffs are not rendered by default.

src/app/organization/investors/investors.component.html

Lines changed: 213 additions & 209 deletions
Large diffs are not rendered by default.

src/app/organization/organization-routing.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ const routes: Routes = [
339339
{
340340
path: 'fund-mapping',
341341
component: FundMappingComponent,
342-
data: { title: 'Advance Search', breadcrumb: 'Advance Search' },
342+
data: { title: 'Fund Mapping', breadcrumb: 'Fund Mapping' },
343343
resolve: {
344344
advanceSearchTemplate: AdvanceSearchTemplateResolver
345345
}

src/app/organization/organization.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<div #standinginstructions>
103103
<mat-list-item *mifosxHasPermission="'READ_STANDINGINSTRUCTION'">
104104
<div class="menu-list-item-content">
105-
<div class="menu-left-section" [routerLink]="['standing-instructions']">
105+
<div class="menu-left-section" [routerLink]="['standing-instructions-history']">
106106
<mat-icon matListIcon>
107107
<fa-icon icon="book" size="sm"></fa-icon>
108108
</mat-icon>

src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.html

Lines changed: 261 additions & 232 deletions
Large diffs are not rendered by default.

src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@use 'assets/styles/helper';
12
@use 'assets/styles/colours' as *;
23

34
.tab-container {

src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ import {
1919
import { LoanProducts } from '../../loan-products';
2020
import { CodeName, OptionData, StringEnumOptionData } from '../../../../shared/models/option-data.model';
2121
import { Accounting } from 'app/core/utils/accounting';
22-
import { NgIf, NgFor, DecimalPipe } from '@angular/common';
22+
import { DecimalPipe } from '@angular/common';
2323
import { MatDivider } from '@angular/material/divider';
24-
import { LongTextComponent } from '../../../../shared/long-text/long-text.component';
2524
import {
2625
MatTable,
2726
MatColumnDef,
@@ -50,7 +49,6 @@ import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
5049
imports: [
5150
...STANDALONE_SHARED_IMPORTS,
5251
MatDivider,
53-
LongTextComponent,
5452
MatTable,
5553
MatColumnDef,
5654
MatHeaderCellDef,

src/app/products/loan-products/loan-product-stepper/loan-product-accounting-step/loan-product-accounting-step.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ <h4 class="mat-h4 flex-33">
512512
</div>
513513
</div>
514514

515-
<div class="layout-row align-center margin-t responsive-column">
515+
<div class="layout-row align-center margin-t responsive-column gap-2percent">
516516
<button mat-raised-button matStepperPrevious>
517517
<fa-icon icon="arrow-left" class="m-r-10"></fa-icon>
518518
{{ 'labels.buttons.Previous' | translate }}

src/app/products/saving-products/view-saving-product/saving-product-general-tab/saving-product-general-tab.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
</button>
1111
</div>
1212

13-
<div class="tab-container mat-typography">
13+
<div class="tab-container">
1414
<div class="responsive-column">
15-
<h2 class="mat-h2 flex-fill">{{ savingProduct.name }}</h2>
15+
<h2 class="mat-h2 flex-100">{{ savingProduct.name }}</h2>
1616

1717
<mat-divider [inset]="true"></mat-divider>
1818

src/app/products/share-products/share-product-stepper/share-product-preview-step/share-product-preview-step.component.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use 'assets/styles/colours' as *;
2+
13
table {
24
width: 100%;
35
}
@@ -24,3 +26,9 @@ mat-divider {
2426
.margin-t {
2527
margin-top: 1em;
2628
}
29+
30+
.mat-h3 {
31+
margin-top: 10px !important;
32+
font-weight: 300;
33+
color: $status-approved;
34+
}

0 commit comments

Comments
 (0)