Skip to content

Conversation

@daniel-manta-hee
Copy link
Contributor

@daniel-manta-hee daniel-manta-hee commented Feb 22, 2022

JIRA link

https://hee-dls.atlassian.net/browse/DLSV2-500

Description

Added decorators to controller action methods in Frameworks, RoleProfiles and MyAccount. For instance:

[SetSelectedTab(nameof(NavMenuTab.Frameworks))]

Invocation:

@Html.GetSelectedCssClassIfTabSelected(NavMenuTab.Frameworks)

The above code returns selected attribute when current tab matches NavMenuTab.Frameworks passed on the decorator.

Screen captures

image

Copy link
Contributor

@kevwhitt-hee kevwhitt-hee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

action method decorator needed throughout all frameworks controller methods

@kevwhitt-hee kevwhitt-hee merged commit d4a0d49 into master Feb 25, 2022
@kevwhitt-hee kevwhitt-hee deleted the DLSV2-500-SetSelectedTabInFrameworks branch February 25, 2022 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants