Skip to content

Commit 88adbbe

Browse files
committed
Add temporary banner for MILK10k challenge
1 parent 61afc20 commit 88adbbe

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

stade/core/templates/base.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,17 @@ <h1><a href="{% url 'index' %}"><img src="{% static 'img/isic_logo.svg' %}"
128128
</div>
129129
</header>
130130

131+
{% if not request.user.is_authenticated %}
132+
<div id="temporary-transition-banner" class="notification">
133+
<div class="container">
134+
<div class="notice-content">
135+
<h1 class="banner-title">The MILK10k Challenge is open!</h1>
136+
<h4 class="notice-title"><a href="{% url 'task-detail' 57 %}">Join the competition</a>!</h4>
137+
</div>
138+
</div>
139+
</div>
140+
{% endif %}
141+
131142
{% load invites %}
132143

133144
{% show_pending_invites request %}

0 commit comments

Comments
 (0)