tabs) and kill the scripts block in favour of just using a js block with
a script tag (which is easier to understand for context-sensitive
modes such as web-mode in Emacs). Also fix a couple of details, e.g.
missing semicolons in JS snippets.
- Legacy-Id: 9096
jump to group modal. This cuts page rendering speed in more than half
for simple pages and similarly shrinks them by a factor 3-4, while
keeping the user experience the same. Fallbacks are in place for
non-JS clients.
There's still some overhead in the menu generation compared to just
rendering the page content, but the group menu was definitely a major
culprit.
- Legacy-Id: 9077
we only include the select2 things on pages with forms that need it
anyway, and this makes it easier to use it in the Secretariat code
- Legacy-Id: 8986