You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.6 KiB
Cheetah

<table class="table">
<tbody>
{%- set prev_year = 1900 %}
{%- for entry in entries %}
<tr>
<td>
<span class="date">
{% if entry.fields['year'] != prev_year %}
<big><strong>{{ entry.fields['year'] }}</strong></big><br />
{% endif %}
{%- set prev_year = entry.fields['year'] %}
{{ entry.fields['month']|monthname }}
</span>
</td>
<td class="publication">
<span class="pubtitle">
{%- set url = entry|main_url %}
{%- if url %}
<img src="img/pdficon_small.png" width="16"
height="16" alt="PDF" />
<a href="{{ url|escape }}">{{ entry|title }}</a>.
{%- else %}
{{ entry|title }}.
{%- endif %}
</span><br />
<span class="authors">
{{ entry.persons['author']|author_list }}.
</span><br />
<span class="venuetype">{{ entry|venue_type -}}</span><span class="venue">{{ entry|venue -}}</span>.
{%- if entry.fields['note'] %}
<span class="note">
{{ entry.fields['note']|escape }}.
</span>
{%- endif %}
<br />
<span class="links">
{%- for type, url in (entry|extra_urls).items() %}
[<a href="{{ url|escape }}">{{ type|escape }}</a>]
{%- endfor %}
{%- if entry.fields['abstract'] %}
[<a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0);" onclick="$('#abstract_{{entry.fields['key']}}').slideToggle('fast');return false;">abstract</a>]
{%- endif %}
</span>
{%- if entry.fields['abstract'] %}
<div id="abstract_{{entry.fields['key']}}" class="abstract">
{{ entry.fields['abstract'] |escape }}
</div>
{%- endif %}
</td>
</tr>
{%- endfor %}
</tbody>
</table>