diff --git a/salt/salt/postgresql/site-db.sls b/salt/salt/postgresql/site-db.sls index 5f73a1e..91adefb 100644 --- a/salt/salt/postgresql/site-db.sls +++ b/salt/salt/postgresql/site-db.sls @@ -39,6 +39,13 @@ site-db-enable-pg_stat_statements: - require: - postgres_database: tildes +site-db-enable-pg_trgm: + postgres_extension.present: + - name: pg_trgm + - maintenance_db: tildes + - require: + - postgres_database: tildes + site-db-pg_hba-lines: file.accumulated: - name: pg_hba_lines diff --git a/salt/salt/postgresql/test-db.sls b/salt/salt/postgresql/test-db.sls index 813f73d..ad18163 100644 --- a/salt/salt/postgresql/test-db.sls +++ b/salt/salt/postgresql/test-db.sls @@ -26,6 +26,13 @@ test-db-enable-intarray: - require: - postgres_database: tildes_test +test-db-enable-pg_trgm: + postgres_extension.present: + - name: pg_trgm + - maintenance_db: tildes_test + - require: + - postgres_database: tildes_test + test-db-pg_hba-lines: file.accumulated: - name: pg_hba_lines diff --git a/tildes/tildes/templates/error_group_not_found.jinja2 b/tildes/tildes/templates/error_group_not_found.jinja2 new file mode 100644 index 0000000..ab14250 --- /dev/null +++ b/tildes/tildes/templates/error_group_not_found.jinja2 @@ -0,0 +1,27 @@ +{% extends 'base_no_sidebar.jinja2' %} + +{% from 'macros/links.jinja2' import group_linked %} + +{% block title %} +Group not found +{% endblock %} + +{% block content %} + +
+ Did you mean one of these groups instead?
+
+ {% for group in group_suggestions %}
+ {{ group_linked(group) }}
+
+ {% endfor %}
+