Skip to content

Commit

Permalink
fix: fix button padding issue and change header references for reques…
Browse files Browse the repository at this point in the history
…t messages
  • Loading branch information
josephatJ committed Dec 15, 2023
1 parent 6e0b174 commit ecf30e3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@
border-radius: 8px;
background-color: transparent;
}

::ng-deep .mdc-button {
padding: 0 8px 0 8px !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
class="ml-2"
(click)="onNext($event)"
>
{{ 'Next' | translate }}
{{ 'Add' | translate }}
</button>
<button
*ngIf="!readyToSave"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export class RequestUserAccountsComponent implements OnInit {
);
})
.join('\n')} `,
subject: 'UA' + Date.now().toString() + '- MAOMBI YA ACCOUNT',
subject: 'UA' + Date.now().toString() + '- ACCOUNT REQUEST',
},
replyMessage: 'to be constructed',
payload: this.formDataToStoreLocally?.map((data, index) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class UsersListComponent implements OnInit {
}: \n\n Username: ${user?.userCredentials?.username} \n Names: ${
user?.name
} \n Email: ${user?.email ? user?.email : ''}`,
subject: 'UA' + Date.now().toString() + '- MAOMBI YA ACCOUNT',
subject: 'UA' + Date.now().toString() + '- ACCOUNT REQUEST',
},
replyMessage: `Account ${user?.userCredentials?.username} for ${
user?.name
Expand Down
4 changes: 2 additions & 2 deletions src/app/shared/helpers/construct-message.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export function constructMessageForFacilityAssignment(
' - ' +
(keywordsKeys && keywordsKeys['messageRequestHeader']
? keywordsKeys['formRequestMessageHeaderKey']
: 'MAOMBI YA FOMU'),
: 'FORM REQUEST'),
message,
};
}
Expand Down Expand Up @@ -160,7 +160,7 @@ export function constructMessageForDataSetAssignment(
' - ' +
(keywordsKeys && keywordsKeys['messageRequestHeader']
? keywordsKeys['formRequestMessageHeaderKey']
: 'MAOMBI YA FOMU'),
: 'FORM REQUEST'),
message,
};
}
Expand Down

0 comments on commit ecf30e3

Please sign in to comment.