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.
31 lines
843 B
HTML
31 lines
843 B
HTML
4 years ago
|
{% macro print_tool(program) %}
|
||
|
<div class="program">
|
||
|
{% if program.extra.linkto and program.extra.directlink %}
|
||
|
<a href="{{ program.extra.linkto }}">
|
||
|
{% else %}
|
||
|
<a href="{{ program.permalink }}">
|
||
|
{% endif %}
|
||
|
<h4>{{ program.title }}</h4>
|
||
|
{% if program.extra.logo %}
|
||
|
<img src="/software/{{ program.extra.logo }}" alt="{{ program.title }}">
|
||
|
{% endif %}
|
||
|
</a>
|
||
|
<p>{{ program.description | safe }}</p>
|
||
|
{% if program.extra.positive_short and program.extra.negative_short %}
|
||
|
<div class="stats">
|
||
|
<ul class="positive">
|
||
|
{% for item in program.extra.positive_short %}
|
||
|
<li>{{ item }}</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
<ul class="negative">
|
||
|
{% for item in program.extra.negative_short %}
|
||
|
<li>{{ item }}</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
{% endmacro print_tool %}
|
||
|
|