Add MAGICWORDS iteration

This commit is contained in:
Luke Murphy 2020-12-04 16:16:48 +01:00
parent b0f4a7e460
commit ef908376cf
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -39,6 +39,10 @@
<td class="versions"> <td class="versions">
{% for v in pad.versions %}<a href="{{ v.url }}">{{ v.type }}</a> {% endfor %} {% for v in pad.versions %}<a href="{{ v.url }}">{{ v.type }}</a> {% endfor %}
</td> </td>
<!-- WOW -->
<td class="magicwords">
{% for magicword in pad.magicwords %}<a href="#{{ magicword }}">{{ magicword }}</a> {% endfor %}
</td>
<!--<td class="lastedited">{{ pad.lastedited_iso|datetimeformat }}</td>--> <!--<td class="lastedited">{{ pad.lastedited_iso|datetimeformat }}</td>-->
<!--<td class="revisions">{{ pad.revisions }}</td>--> <!--<td class="revisions">{{ pad.revisions }}</td>-->
<!--<td class="authors">{{ pad.author_ids|length }}</td>--> <!--<td class="authors">{{ pad.author_ids|length }}</td>-->