Next generation of the CMS the Strathspey sites are based on. Uses Python 3.9, Django 3.1 and other up-to-date goodies.
  • Python 71.2%
  • HTML 24.7%
  • CSS 2.4%
  • JavaScript 1.3%
  • Shell 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Anselm Lingnau a344e83c12 feature: Control content of dance list “Cribs” tab from URL.
This lets you append a `?crib_opts=…` query parameter to a URL for a
dance list detail page. The value of that option is used to initialise
the style options for that page (only), overriding any default style
options.

The allowable options are:

  - `0`: display dances with no cribs
  - `I`: display non-dance items
  - `D`: display dance diagrams (where available)
  - `T`: display times
  - `P`: display publication references from the current collection
  - `R`: display recording references
  - `N`: display notes

We manage this by storing the value of the `crib_opts` query parameter
as a `data-crib-opts` attribute on the “Cribs” tab button (where there
is already various other stuff to do with the “Cribs” tab), and
arranging for the value of this attribute to override the
`current_style_options` from the Django session if it exists. This
means that if the user navigates to the “Cribs” tab, the content of
that tab will be controlled by the `crib_opts` query parameter rather
than the `current_style_options` from the Django session, but only for
this instance of displaying the list.
2026-07-06 00:23:25 +02:00
data chore: Tweak the 1-column page diagram style sheet. 2025-11-19 01:31:10 +01:00
docker chore: Add git to the Dockerfile. 2023-04-19 00:48:47 +02:00
docs feature: Initial commit. 2021-03-01 02:45:48 +01:00
etc feature: Add image source URL support to {% imagecredit %}. 2024-04-08 01:37:50 +02:00
src feature: Control content of dance list “Cribs” tab from URL. 2026-07-06 00:23:25 +02:00
tests feature: Add EPC-QR data validation for event registration settings form. 2023-12-08 01:07:46 +01:00
.editorconfig chore: Add .editorconfig file. 2022-01-19 01:32:33 +01:00
.gitignore refactor: Add hatch and uv-dynamic-versioning instead of setuptools. 2025-08-23 14:35:26 +02:00
.gitlab-ci.yml chore: Deploy to prod when a Git tag is set. 2023-05-08 19:11:42 +02:00
babel.cfg chore: Add babel.cfg to the repository. 2023-04-14 00:41:49 +02:00
Makefile chore: Add targets for translation catalogs to Makefile. 2023-04-12 23:49:33 +02:00
pyproject.toml feature: Add support for “RSCDS grades”. 2026-07-05 13:00:50 +02:00
pytest.ini feature: Initial commit. 2021-03-01 02:45:48 +01:00
README.rst feature: Initial commit. 2021-03-01 02:45:48 +01:00
requirements-test.txt feature: Initial commit. 2021-03-01 02:45:48 +01:00
uv.lock feature: Add support for “RSCDS grades”. 2026-07-05 13:00:50 +02:00

ACE4 Content Management System
==============================

This is the ACE4 CMS as used on the strathspey.org web sites.