Skip to content

Commit

Permalink
Fix #771 - add the hide_hud parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
nonprofittechy committed Mar 15, 2024
1 parent eca33ca commit a8dda55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docassemble/AssemblyLine/data/questions/al_visual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ default screen parts:
corner back button label: |
Undo
pre: |
% if get_config('debug'):
`id: ${ user_info().question_id }`
`Variable triggering this screen: ${ user_info().variable }`
`Package: ${ user_info().package } ${ package_version_number }; ${ al_version }`
% if get_config('debug') and not url_args.get("hide_hud", "").lower() in ["1", "on", "true", "yes"]:
`id: ${ user_info().question_id }`[BR]
`Variable: ${ user_info().variable }`[BR]
`Version: ${ user_info().package.replace("docassemble.", "") + " " if not user_info().package.startswith("docassemble.playground") else "" }${ package_version_number }; ${ al_version }`
<div data-variable="${ encode_name(str( user_info().variable )) }" id="sought_variable" aria-hidden="true" style="display: none;"></div>
% endif
# We need both pre and post until old interviews are updated to v2 of the testing framework or v1 of the testing framework is updated. In future, we will need this in `post` so that it will work on signature pages.
Expand Down

0 comments on commit a8dda55

Please sign in to comment.