diff --git a/templates/assets/css/schedule.css b/templates/assets/css/schedule.css index 3a7a60a..86c093a 100644 --- a/templates/assets/css/schedule.css +++ b/templates/assets/css/schedule.css @@ -246,6 +246,17 @@ h1 { display: none; } +/* Update table headers for bible study context */ +.schedule-table th:nth-child(2)::after { + content: " 🙏"; + opacity: 0.7; +} + +.schedule-table th:nth-child(3)::after { + content: " 📖"; + opacity: 0.7; +} + /* Responsive design */ @media (max-width: 768px) { .container { @@ -314,18 +325,18 @@ h1 { } .date-cell { - width: 20%; + width: 25%; font-size: 13px; font-weight: 700; } .leader-cell { - width: 18%; + width: 30%; font-size: 12px; } .topic-cell { - width: 44%; + width: 45%; font-size: 13px; line-height: 1.4; } @@ -354,16 +365,13 @@ h1 { /* Hide emoji suffixes on mobile for cleaner look */ .schedule-table th:nth-child(2)::after, - .schedule-table th:nth-child(3)::after, - .schedule-table th:nth-child(4)::after { + .schedule-table th:nth-child(3)::after { display: none; } /* Stack layout for very small screens */ .schedule-table th:nth-child(2), - .schedule-table td:nth-child(2), - .schedule-table th:nth-child(3), - .schedule-table td:nth-child(3) { + .schedule-table td:nth-child(2) { display: none; } diff --git a/templates/schedule.html b/templates/schedule.html index 5fa5800..cc4ca9c 100644 --- a/templates/schedule.html +++ b/templates/schedule.html @@ -38,7 +38,6 @@ Date Discussion Leader - Co-Leader Study Topic @@ -46,9 +45,8 @@ {% for item in schedule %} {{ item.date }} - {{ item.primary_leader if item.primary_leader else "" }} - {{ item.secondary_leader if item.secondary_leader else "" }} - {{ item.topic }} + {% if item.primary_leader %}{{ item.primary_leader }}{% endif %}{% if item.primary_leader and item.secondary_leader %} & {% endif %}{% if item.secondary_leader %}{{ item.secondary_leader }}{% endif %} + {{ item.topic }} {% endfor %}