Skip to content
Snippets Groups Projects
Commit 38225c1a authored by Jonathan Weth's avatar Jonathan Weth :keyboard: Committed by root
Browse files

Merge pull request #224 from Katharineum/feature/events2

Make lessons with event pruple
parents fd897f80 d2409ef6
No related branches found
No related tags found
1 merge request!86Merge school-apps
......@@ -191,6 +191,11 @@ table.substitutions td, table.substitutions th {
margin: 0;
}
.lesson-with-event {
border: 3px solid #9c27b0;
border-radius: 3px;
}
.lesson-card a, .substitutions a {
color: black;
}
......
......@@ -12,7 +12,7 @@
{% endif %}"
{# Add CSS class for sub when it's a sub #}
class="{% if element_container.substitution %}lesson-with-sub{% endif %}">
class="{% if element_container.substitution %}{% if element_container.substitution.table.is_event %}lesson-with-event{% else %}lesson-with-sub{% endif %}{% endif %}">
<p>
{% if element_container.substitution %}
{# SUBSTITUTION #}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment