diff options
-rw-r--r-- | static/website/templates/page.html | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/static/website/templates/page.html b/static/website/templates/page.html index 49c4c67..5763582 100644 --- a/static/website/templates/page.html +++ b/static/website/templates/page.html @@ -104,13 +104,43 @@ {% endfor %} </div> <!-- /sidebar --> - <div id="content" class="col-lg-10 col-md-10 col-sm-10"> + <!--------------------------- --> + {% if permalink == 'python-workshops' %} + <div id="content" class="col-lg-10 col-md-10 col-sm-10"> + <h3>Pyhton Workshops </h3> + <br> + <p> + <table class="table table-striped table-hover"> + <tr> + <th>Name</th> + <th>Start Date</th> + <th>Venue</th> + <th>No of Participants</th> + <th> </th> + </tr> + {% for b in obj %} + <tr> + <td>{{ b.w_name }}</td> + <td>{{ b.startdate }}</td> + <td>{{ b.venue }}</td> + <td>{{ b.no_of_participant }}</td> + <td><a href="http://fossee.in/events/view_details/{{ b.w_id }}" target="_blank">Details</a></td> + </tr> + {% endfor %} + </table> + </p> + </div> <!-- /content --> + + {% else %} + <div id="content" class="col-lg-10 col-md-10 col-sm-10"> <h3>{{ page.heading }} </h3> <p> {{ page.content|safe }} </p> </div> <!-- /content --> + {% endif %} + <!--------------------------- --> <div class="clearfix"></div> </div> <!-- /content-inner --> </div> <!-- /content-wrapper --> |