You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on the newly renamed "outreach" page proposed in #2019 but I noticed when testing that if the interger argument for this line {% expandable training_events 7 %} is greater than the number of elements available (i.e we have only 2 events in the array training_events but I ask for 7 before the "Show More" box appears) then it renders
some unordered lists tags on the page.
This is not a big deal as eventually the array will contain more events, or I could simply make the number smaller for now. But it would nice for those tags to not render when we have few events to list.
The text was updated successfully, but these errors were encountered:
GuillermoFidalgo
changed the title
include expandable inserts <ul> tags when list is less than givenexpandable inserts <ul> tags when list is less than given
Aug 16, 2023
GuillermoFidalgo
changed the title
expandable inserts <ul> tags when list is less than givenexpandable inserts <ul> tags when list is small
Aug 16, 2023
I wanted to reuse the code
on the newly renamed "outreach" page proposed in #2019 but I noticed when testing that if the interger argument for this line
{% expandable training_events 7 %}
is greater than the number of elements available (i.e we have only 2 events in the arraytraining_events
but I ask for 7 before the "Show More" box appears) then it renderssome unordered lists tags on the page.
This is not a big deal as eventually the array will contain more events, or I could simply make the number smaller for now. But it would nice for those tags to not render when we have few events to list.
The text was updated successfully, but these errors were encountered: