-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VACMS-18456 Update legacy action links to DS action links (#2392)
* VACMS-18456 Update legacy action links to DS action links * Remove extra spacing in main_buttons * Update action_link to blue * Remove extra spacing on R&S CTA list * Test adjustments
- Loading branch information
Showing
9 changed files
with
96 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,52 @@ | ||
{% comment %} | ||
This is used for Region Landing page and Contact us page | ||
Also used for VBA with parameter | ||
This is used for Region Landing page and Contact us page | ||
Also used for VBA with parameter | ||
{% endcomment %} | ||
<div data-template="facilities/main_buttons"> | ||
<div> | ||
{% if buttonType == 'vba' %} | ||
<a class="vads-c-action-link--blue" href="https://va.my.site.com/VAVERA/s/">Make an appointment</a> | ||
{% else %} | ||
{% assign topTask = "make-an-appointment" | topTaskLovellComp: path, buildtype, fieldAdministration, fieldVamcEhrSystem, fieldRegionPage, fieldOffice %} | ||
<a class="vads-c-action-link--blue" href="{{topTask.url}}">{{topTask.text}}</a> | ||
{% endif %} | ||
</div> | ||
<div class="vads-u-margin-y--2"> | ||
{% if buttonType == 'vba' %} | ||
<a class="vads-c-action-link--blue" href="https://ask.va.gov">Ask a benefit question</a> | ||
{% else %} | ||
<a class="vads-c-action-link--blue" href="/{{ path }}/health-services">View all health services</a> | ||
{% endif %} | ||
</div> | ||
<div> | ||
{% if buttonType == 'vba' %} | ||
<a class="vads-c-action-link--blue" href="/claim-or-appeal-status">Check a claim status</a> | ||
{% else %} | ||
<a class="vads-c-action-link--blue" href="/{{ path }}/register-for-care">Register for care</a> | ||
{% endif %} | ||
</div> | ||
{% if buttonType == 'vba' %} | ||
<va-link-action | ||
class="vads-u-display--block" | ||
href="https://va.my.site.com/VAVERA/s/" | ||
text="Make an appointment" | ||
type="secondary" | ||
></va-link-action> | ||
{% else %} | ||
{% assign topTask = "make-an-appointment" | topTaskLovellComp: path, buildtype, fieldAdministration, fieldVamcEhrSystem, fieldRegionPage, fieldOffice %} | ||
<va-link-action | ||
class="vads-u-display--block" | ||
href="{{topTask.url}}" | ||
text="{{topTask.text}}" | ||
type="secondary" | ||
></va-link-action> | ||
{% endif %} | ||
{% if buttonType == 'vba' %} | ||
<va-link-action | ||
class="vads-u-display--block" | ||
href="https://ask.va.gov" | ||
text="Ask a benefit question" | ||
type="secondary" | ||
></va-link-action> | ||
{% else %} | ||
<va-link-action | ||
class="vads-u-display--block" | ||
href="/{{ path }}/health-services" | ||
text="View all health services" | ||
type="secondary" | ||
></va-link-action> | ||
{% endif %} | ||
{% if buttonType == 'vba' %} | ||
<va-link-action | ||
class="vads-u-display--block" | ||
href="/claim-or-appeal-status" | ||
text="Check a claim status" | ||
type="secondary" | ||
></va-link-action> | ||
{% else %} | ||
<va-link-action | ||
class="vads-u-display--block" | ||
href="/{{ path }}/register-for-care" | ||
text="Register for care" | ||
type="secondary" | ||
></va-link-action> | ||
{% endif %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
<a class="vads-c-action-link--blue" data-template="paragraphs/action_link" href="{{ entity.fieldButtonLink.url.path }}"> | ||
{{ entity.fieldButtonLabel }} | ||
</a> | ||
<va-link-action | ||
data-template="paragraphs/action_link" | ||
class="vads-u-display--block" | ||
href="{{ entity.fieldButtonLink.url.path }}" | ||
text="{{ entity.fieldButtonLabel }}" | ||
type="secondary" | ||
></va-link-action> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters