Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improve Tools and Ranking templates.

  • Loading branch information...
commit c54a4ac092b28fbcaeb1bc48da0ec30791d8f8e5 1 parent 6d4cf1a
@cpressey cpressey authored
Showing with 12 additions and 2 deletions.
  1. +6 −1 templates/Ranking.html
  2. +6 −1 templates/Tools by Chris Pressey.html
View
7 templates/Ranking.html
@@ -5,7 +5,12 @@
<ol>
{% for thing in entries %}
<li>
- <p>{{ link(thing) }}</p>
+ <p><b>{{ link(thing) }}</b>
+ (
+ {{- data[thing].platform -}}
+ {%- if data[thing].controls -%}, {{ data[thing].controls }}{% endif -%}
+ )
+ </p>
{% if data[thing].description_html %}
{{ data[thing].description_html }}
{% endif %}
View
7 templates/Tools by Chris Pressey.html
@@ -9,7 +9,12 @@
'Chris Pressey' in data[thing].authors and
data[thing].development_stage not in ['idea', 'work in progress', 'abandoned', 'lost', 'archived'] -%}
<li>
- <p>{{ link(thing) }}</p>
+ <p>{{ link(thing) }}
+ (
+ {%- for implementation in related('implementation_of', key=thing) -%}
+ in {{ link(data[implementation].host_language) }}
+ {%- endfor -%}
+ )</p>
{% if data[thing].description_html %}
{{ data[thing].description_html }}
Please sign in to comment.
Something went wrong with that request. Please try again.