{% comment %} Module badge — a colored pill identifying the source module of a cross-module item. Brand colors mirror the platform module palette (rims=emerald, rep=sky, smehub=violet, alumni=amber, repository=rose). Params: module the module value (rims | rep | smehub | alumni | repository) label display text (e.g. m.get_source_module_display); falls back to value {% endcomment %} {{ label|default:module }}