From 9432125f58124a55451da38bcc22cd018907f186 Mon Sep 17 00:00:00 2001 From: Jeff Peterson <1045033+gpeterso@users.noreply.github.com> Date: Thu, 29 Feb 2024 15:23:22 -0600 Subject: [PATCH] Update my account questions link (#5) Replace the "questions about fees?" link with a generic link for "question about information in my account" near the bottom of the page. --- src/shared/components/account/account.module.ts | 4 ++-- .../account/fines-overview/fines-overview.scss | 16 ---------------- .../components/account/fines-overview/index.ts | 3 --- .../prm-fines-overview-after.component.ts | 6 ------ .../account/overview/account-overview.scss | 5 +++++ src/shared/components/account/overview/index.ts | 3 +++ .../prm-account-overview-after.component.ts | 6 ++++++ .../prm-account-overview-after.html} | 2 +- 8 files changed, 17 insertions(+), 28 deletions(-) delete mode 100644 src/shared/components/account/fines-overview/fines-overview.scss delete mode 100644 src/shared/components/account/fines-overview/index.ts delete mode 100644 src/shared/components/account/fines-overview/prm-fines-overview-after.component.ts create mode 100644 src/shared/components/account/overview/account-overview.scss create mode 100644 src/shared/components/account/overview/index.ts create mode 100644 src/shared/components/account/overview/prm-account-overview-after.component.ts rename src/shared/components/account/{fines-overview/prm-fines-overview-after.html => overview/prm-account-overview-after.html} (59%) diff --git a/src/shared/components/account/account.module.ts b/src/shared/components/account/account.module.ts index 8f2586a..c9f0b4f 100644 --- a/src/shared/components/account/account.module.ts +++ b/src/shared/components/account/account.module.ts @@ -1,5 +1,5 @@ -import { PrmFinesOverviewAfterComponent } from "./fines-overview"; +import { PrmAccountOverviewAfterComponent } from "./overview"; export const AccountModule = angular .module("account", []) - .component("prmFinesOverviewAfter", PrmFinesOverviewAfterComponent).name; + .component("prmAccountOverviewAfter", PrmAccountOverviewAfterComponent).name; diff --git a/src/shared/components/account/fines-overview/fines-overview.scss b/src/shared/components/account/fines-overview/fines-overview.scss deleted file mode 100644 index d0ba453..0000000 --- a/src/shared/components/account/fines-overview/fines-overview.scss +++ /dev/null @@ -1,16 +0,0 @@ -// accommodate fines note -prm-fines-overview { - display: inline-block; - width: -moz-available; - width: -webkit-fill-available; - width: stretch; - - prm-fines-overview-after { - section { - display: inline-block; - margin-left: 0.5em; - position: relative; - top: -1em; - } - } -} diff --git a/src/shared/components/account/fines-overview/index.ts b/src/shared/components/account/fines-overview/index.ts deleted file mode 100644 index 54501b5..0000000 --- a/src/shared/components/account/fines-overview/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -import "./fines-overview.scss"; - -export * from "./prm-fines-overview-after.component"; diff --git a/src/shared/components/account/fines-overview/prm-fines-overview-after.component.ts b/src/shared/components/account/fines-overview/prm-fines-overview-after.component.ts deleted file mode 100644 index 2097637..0000000 --- a/src/shared/components/account/fines-overview/prm-fines-overview-after.component.ts +++ /dev/null @@ -1,6 +0,0 @@ -import template from "./prm-fines-overview-after.html"; - -export const PrmFinesOverviewAfterComponent: ng.IComponentOptions = { - template: template, - bindings: { parentCtrl: "<" }, -}; diff --git a/src/shared/components/account/overview/account-overview.scss b/src/shared/components/account/overview/account-overview.scss new file mode 100644 index 0000000..794a881 --- /dev/null +++ b/src/shared/components/account/overview/account-overview.scss @@ -0,0 +1,5 @@ +prm-account-overview-after { + section { + text-align: center; + } +} diff --git a/src/shared/components/account/overview/index.ts b/src/shared/components/account/overview/index.ts new file mode 100644 index 0000000..68bbe31 --- /dev/null +++ b/src/shared/components/account/overview/index.ts @@ -0,0 +1,3 @@ +import "./account-overview.scss"; + +export * from "./prm-account-overview-after.component"; diff --git a/src/shared/components/account/overview/prm-account-overview-after.component.ts b/src/shared/components/account/overview/prm-account-overview-after.component.ts new file mode 100644 index 0000000..797bf3d --- /dev/null +++ b/src/shared/components/account/overview/prm-account-overview-after.component.ts @@ -0,0 +1,6 @@ +import template from "./prm-account-overview-after.html"; + +export const PrmAccountOverviewAfterComponent: ng.IComponentOptions = { + template: template, + bindings: { parentCtrl: "<" }, +}; diff --git a/src/shared/components/account/fines-overview/prm-fines-overview-after.html b/src/shared/components/account/overview/prm-account-overview-after.html similarity index 59% rename from src/shared/components/account/fines-overview/prm-fines-overview-after.html rename to src/shared/components/account/overview/prm-account-overview-after.html index f4f9e7b..538b01c 100644 --- a/src/shared/components/account/fines-overview/prm-fines-overview-after.html +++ b/src/shared/components/account/overview/prm-account-overview-after.html @@ -1,5 +1,5 @@
- Questions about fees? Ask us! + Questions about information in My Account? Ask us!