Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate field tips by division #197

Open
dfaulken opened this issue May 15, 2019 · 4 comments
Open

Separate field tips by division #197

dfaulken opened this issue May 15, 2019 · 4 comments
Assignees

Comments

@dfaulken
Copy link
Contributor

I suggested that if VATCo-oriented field tips were to prove to be confusing for SATCo drivers, it might be possible to develop a system to have separate hardcoded field tips for separate divisions.

@dfaulken
Copy link
Contributor Author

Jamin / Dave K to send us a list.

@sherson
Copy link
Member

sherson commented Jul 15, 2019

We should remind them for this.

@dfaulken
Copy link
Contributor Author

I don't believe we've received this input.

Once we have it, the best approach would likely be to create a file similar to locales/en.yml, but rather than storing the English 'translation' of each attribute, it would store the SATCo and VATCo field tips where applicable, perhaps organized by the internal ID of the division objects.

Then create a view helper which will display a given field in the form and dynamically look up its corresponding tip based on the division of the driver/supervisor currently viewing the edit page.

Finally use this view helper in the edit view.

@sherson
Copy link
Member

sherson commented Sep 26, 2019

Another item for the list of things to remind PVTA about

@avacmeyer avacmeyer self-assigned this Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants