summaryrefslogtreecommitdiff
path: root/workshop_app/templates
diff options
context:
space:
mode:
authorankitjavalkar2019-09-26 15:29:47 +0530
committerankitjavalkar2019-09-26 15:29:47 +0530
commitb0c2a45920a0ae7c0c2054ad403cb7d326bc39eb (patch)
tree56f02b77cfda412243ecb10c88d31c7f603b726a /workshop_app/templates
parent4a8ae597541d744c4e172dfd71b8d0a617c2d1dd (diff)
downloadworkshop_booking-b0c2a45920a0ae7c0c2054ad403cb7d326bc39eb.tar.gz
workshop_booking-b0c2a45920a0ae7c0c2054ad403cb7d326bc39eb.tar.bz2
workshop_booking-b0c2a45920a0ae7c0c2054ad403cb7d326bc39eb.zip
Add banner management system to workshop website
Diffstat (limited to 'workshop_app/templates')
-rw-r--r--workshop_app/templates/workshop_app/index.html24
1 files changed, 17 insertions, 7 deletions
diff --git a/workshop_app/templates/workshop_app/index.html b/workshop_app/templates/workshop_app/index.html
index 12a6562..4880a2a 100644
--- a/workshop_app/templates/workshop_app/index.html
+++ b/workshop_app/templates/workshop_app/index.html
@@ -67,13 +67,23 @@ $(document).ready(function(){
</head>
<body>
- <!--
- <center>
- <a href="https://fossee.in/fellowship/2019"><img
- src="https://static.fossee.in/fossee/banners/fellowship_2019_3.gif"/>
- </a>
- </center>
- -->
+ <div>
+ {% if banners %}
+ {% for banner in banners %}
+ {% if banner.active %}
+ {{ banner.html | safe}}
+ {% endif %}
+
+ <!--
+ <center>
+ <a href="https://fossee.in/fellowship/2019"><img
+ src="https://static.fossee.in/fossee/banners/fellowship_2019_3.gif"/>
+ </a>
+ </center>
+ -->
+ {% endfor %}
+ {% endif %}
+ </div>
<nav class="navbar navbar-expand-sm navbar-custom">
<a class="navbar-brand">FOSSEE Python Workshops</a>
<ul class=" nav navbar-nav ml-auto">