Skip to content

Commit

Permalink
Add seeMoreText & seeMoreAriaLabelText to the dashboard app & use it
Browse files Browse the repository at this point in the history
..in dashboard-fees component.
  • Loading branch information
Adamik10 committed Dec 6, 2023
1 parent 990538f commit 60aafa6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/apps/dashboard/dashboard-fees/dashboard-fees.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ const DashboardFees: FC = () => {
placeholders: { "@total": totalFeeAmount }
})}
overdueText={t("totalOwedText")}
rightButtonText={t("payOwedText")}
rightButtonText={t("seeMoreText")}
rightButtonAriaLabelText={t("seeMoreAriaLabelText")}
rightLink={feesPageUrl}
/>
</div>
Expand Down
8 changes: 6 additions & 2 deletions src/apps/dashboard/dashboard.dev.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,12 @@ export default {
defaultValue: "You owe in total",
control: { type: "text" }
},
payOwedText: {
defaultValue: "Pay",
seeMoreText: {
defaultValue: "See more",
control: { type: "text" }
},
seeMoreAriaLabelText: {
defaultValue: "See your fees and how to pay",
control: { type: "text" }
},
totalAmountFeeText: {
Expand Down
3 changes: 2 additions & 1 deletion src/apps/dashboard/dashboard.entry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export interface DashBoardProps {
materialByAuthorText: string;
noPhysicalLoansText: string;
noReservationsText: string;
payOwedText: string;
seeMoreText: string;
seeMoreAriaLabelText: string;
physicalLoansText: string;
publizonAudioBookText: string;
publizonEbookText: string;
Expand Down

0 comments on commit 60aafa6

Please sign in to comment.