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

Feature Request: Add the application name as a tag to "Submit a ticket" button click #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jones220-purdue
Copy link

Additions:

  • Created a function named "parse_app_name" that will attempt to retrieve the application name from environment variables TOOLDIR or SUBMIT_APPLICATION_REVISION. If the name cannot be found, then get the application title from $SESSIONDIR/resources
  • Added a Python variable for app_name
  • Added to the header_template, the Javascript variable appname using the Python value
  • Added ?group=app-${appname} to the HREF for the "Submit a ticket" button

Purpose:
The reason behind this change is too add a tag to ticket requests letting developers know what tool the ticket is in reference too. Sometimes ticket submitters omit this information

…ession

- Updated the URL for the "Report a problem" button to include the app group with the application name
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.

1 participant