Skip to content

Commit

Permalink
Fix #260
Browse files Browse the repository at this point in the history
  • Loading branch information
nonprofittechy authored and BryceStevenWilley committed Dec 15, 2022
1 parent a10aaa7 commit 686a4a9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docassemble/AssemblyLine/data/questions/al_visual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,22 @@ template: about_this_interview_version_info
content: |
"${all_variables(special='metadata').get('title','').rstrip()}" version
`${ package_version_number }`; AssemblyLine version `${ al_version }`.
% if interview_metadata.get("main_interview_key"):
<%
MAIN_METADATA = interview_metadata[interview_metadata["main_interview_key"]]
%>
% elif len(interview_metadata) > 1:
<%
del(interview_metadata["main_interview_key"]) # DADict creates the key on lookup above
MAIN_METADATA = next(iter(interview_metadata.values()))
%>
% else:
<% MAIN_METADATA = {} %>
% endif
% if MAIN_METADATA.get("original_form") and not MAIN_METADATA.get("original_form").strip() == "None" and MAIN_METADATA.get("original_form").startswith("http"):
[View the original version of this form](${ MAIN_METADATA.get("original_form") }).
% endif
% if package_updated_on:
Last updated on ${ package_updated_on }. [:fab-fa-github: View code on GitHub](${ github_url }).
Expand Down

0 comments on commit 686a4a9

Please sign in to comment.