This repository has been archived by the owner on Feb 17, 2024. It is now read-only.
Additional external resources within the template #8
Labels
enhancement
New feature or request
good first issue
Good for newcomers
Pending
Requires more input or has to be discusses
task
A task to be completed
Current code allows using certain special notation within descriptions of activities. Currently handled ones include
{{website}}, {{dashboard}}, {{Q1}}, {{Q2}} ...
that are being generated by the system and automatically replaced.It might be useful to allow creator defining additional external resources to be replaced within the texts. This should allow the system to link to those even if the HTML input is not allowed.
Proposed logic
Resources should reside within the resources key of the general Session Template context structural element. The key should have an array of objects, empty array or even a missing key.
The structure should be as follows:
This would allow the
{{weburl}}
to be referenced from within the texts and replaced with an anchor that would look similar to this:<a href="URL" target="_blank">TEXT</a>
The text could be made optional with either key or url being used instead.
The text was updated successfully, but these errors were encountered: