diff --git a/project/jinja_filters.py b/project/jinja_filters.py
index 523f803..06397b8 100644
--- a/project/jinja_filters.py
+++ b/project/jinja_filters.py
@@ -17,12 +17,17 @@ def is_list(value):
return isinstance(value, list)
+def any_dict_value_true(data: dict):
+ return any(data.values())
+
+
app.jinja_env.filters["event_category_name"] = lambda u: get_event_category_name(u)
app.jinja_env.filters["loc_enum"] = lambda u: get_localized_enum_name(u)
app.jinja_env.filters["loc_scope"] = lambda s: get_localized_scope(s)
app.jinja_env.filters["env_override"] = env_override
app.jinja_env.filters["quote_plus"] = lambda u: quote_plus(u)
app.jinja_env.filters["is_list"] = is_list
+app.jinja_env.filters["any_dict_value_true"] = any_dict_value_true
@app.context_processor
diff --git a/project/static/site.css b/project/static/site.css
index 25df1cc..6ff77d1 100644
--- a/project/static/site.css
+++ b/project/static/site.css
@@ -14,36 +14,12 @@ h3 {
margin: 2rem 0 1rem;
}
-/* .navbar {
- background-color: lightslategray;
- font-size: 1em;
- color: white;
- padding: 8px 5px 8px 5px;
-}
-
-.navbar a {
- text-decoration: none;
- color: inherit;
-}
-
-.navbar-brand {
- font-size: 1.2em;
- font-weight: 600;
-}
-
-.navbar-item {
- font-variant: small-caps;
- margin-left: 30px;
-} */
-
footer {
padding: 10px;
}
-.social-btn {
- /* background-color: #009688;
- color: white; */
- font-size: 1.5rem;
+figure {
+ margin: 0;
}
tr.collapse.in {
diff --git a/project/templates/_macros.html b/project/templates/_macros.html
index 5175978..57290e1 100644
--- a/project/templates/_macros.html
+++ b/project/templates/_macros.html
@@ -305,18 +305,15 @@
{% macro render_image(image, size=500) %}
{% if image %}
- {% set img_class = kwargs['class'] if 'class' in kwargs else '' %}
- {% set img_style = kwargs['style'] if 'style' in kwargs else '' %}
- {% set img_class = img_class + ' img-fluid' %}
- {% if image.copyright_text %}
-