Skip to content

Commit 4b9ad9a

Browse files
committed
Fix layout for not closed schedule
1 parent 737dac3 commit 4b9ad9a

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

apps/events/static/events/css/event/schedule.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.schedule-table {
33
display: flex;
44
flex-direction: column;
5+
margin-top: 1em;
56

67
.columns.is-gapless {
78
margin-bottom: 0.8rem;

apps/events/templates/events/event.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,7 @@ <h1 class="title section-title dyn-anchor-heading">
132132

133133
<div class="section-detail">
134134
<p><i class="far fa-calendar-alt"></i> {{ event.start_date|as_short_date }}</p>
135-
136135
<a id="add-to-google-calendar" target="_blank" href="{{ event.get_google_calendar_url }}"><i class="far fa-calendar-plus"></i> Añadir a Google Calendar</a>
137-
138-
{% if event.schedule_for_display and not event.closed_schedule %}
139-
<span class="tag is-warning is-medium not-closed-schedule">
140-
<i class="fas fa-info-circle"></i>
141-
La agenda aún no está cerrada!
142-
</span>
143-
{% endif %}
144136
</div>
145137

146138
<div class="schedule-table">
@@ -161,6 +153,15 @@ <h1 class="title section-title dyn-anchor-heading">
161153
</div>
162154
{% endfor %}
163155
</div>
156+
157+
{% if event.schedule_for_display and not event.closed_schedule %}
158+
<div class="section-detail">
159+
<div class="tag is-warning is-medium not-closed-schedule centered">
160+
<i class="fas fa-info-circle"></i>
161+
La agenda aún no está cerrada!
162+
</div>
163+
</div>
164+
{% endif %}
164165
</div>
165166
</section>
166167

0 commit comments

Comments
 (0)