template changes: meetings and biblio

This commit is contained in:
Sanj 2011-12-08 14:43:06 +05:30
parent 17c3e29bf6
commit 331da0798e
2 changed files with 12 additions and 9 deletions

View File

@ -1,6 +1,5 @@
{% for d in documents %} {% for d in documents %}
<div class="orange"> {{ d.title }}</div> <div class="orange"><a href="{{ d.file }} target="_blank"> {{ d.title }}</a></div>
{{ d.intro|safe }} {{ d.intro|safe }}
<div class="orange"><a href="{{ d.file }}" title="Download">Download</a></div>
<br /> <br />
{% endfor %} {% endfor %}

View File

@ -10,7 +10,7 @@
<li><a href="#tab5">Tab5</a></li> <li><a href="#tab5">Tab5</a></li>
<li><a href="#tab6">Tab6</a></li> <li><a href="#tab6">Tab6</a></li>
--> -->
<li><a href="#synopsis">Synopsis</a></li> <li><a href="#synopsis">About</a></li>
{% ifnotequal sessions|length 0%} {% ifnotequal sessions|length 0%}
<li><a href="#talks">Talks</a></li> <li><a href="#talks">Talks</a></li>
{% endifnotequal %} {% endifnotequal %}
@ -35,7 +35,7 @@
{% ifnotequal sessions|length 0 %} {% ifnotequal sessions|length 0 %}
<div id="talks" class="tab_content"> <div id="talks" class="tab_content">
<h4 class="tabTitle">Programme</h4> <!-- <h4 class="tabTitle">Programme</h4> -->
<div> <div>
{% for s in sessions %} {% for s in sessions %}
<div class="session"> <div class="session">
@ -87,7 +87,7 @@
{% ifnotequal documents|length 0%} {% ifnotequal documents|length 0%}
<div id="prereading" class="tab_content"> <div id="prereading" class="tab_content">
<h4 class="tabTitle">Reading Materials</h4> <!-- <h4 class="tabTitle">Reading Materials</h4> -->
<div> <div>
{% for d in documents %} {% for d in documents %}
<div class="objWrapper"> <div class="objWrapper">
@ -105,15 +105,19 @@
{% ifnotequal imagegallery|length 0 %} {% ifnotequal imagegallery|length 0 %}
<div id="gallery" class="tab_content"> <div id="gallery" class="tab_content">
<h4 class="tabTitle">Gallery</h4> <!-- <h4 class="tabTitle">Gallery</h4> -->
<div> <div class="thumbsGallery">
{% load thumbnail %} {% load thumbnail %}
{% for i in imagegallery %} {% for i in imagegallery %}
{% thumbnail i.file "600x500" crop="center" as big %} {% thumbnail i.file "600x500" crop="center" as big %}
{% thumbnail i.file "100x100" crop="center" as thumb %} {% thumbnail i.file "100x100" crop="center" as thumb %}
<img title="" src="{{ thumb.url }}" class="thumbsDetails" data-bigimage="{{ big.url }}" />
<!--
<a href="{{ big.url }}" title="{{i.title}}" class="thickbox" rel="gall"> <a href="{{ big.url }}" title="{{i.title}}" class="thickbox" rel="gall">
<img src="{{ thumb.url }}" /> <img src="{{ thumb.url }}" />
</a> </a>
-->
{% endthumbnail %} {% endthumbnail %}
{% endthumbnail %} {% endthumbnail %}
{% endfor %} {% endfor %}
@ -123,12 +127,12 @@
{% ifnotequal participants|length 0 %} {% ifnotequal participants|length 0 %}
<div id="participants" class="tab_content"> <div id="participants" class="tab_content">
<h4 class="tabTitle">Participant List</h4> <!-- <h4 class="tabTitle">Participant List</h4> -->
<div> <div>
{% for p in participants %} {% for p in participants %}
<div class="pWrapper"> <div class="pWrapper">
<div class="pName toggleNext"> <div class="pName toggleNext">
<a href="Javascript:return false;">{{ p.name }}</a> <a href="Javascript:return false;">{{ p.name }}</a> <br />{{ p.title }}
</div> </div>
<div class="pBio"> <div class="pBio">
{{ p.short_bio|markdown }} {{ p.short_bio|markdown }}