Fixed HR application template

This commit is contained in:
2010-05-14 10:15:40 +01:00
parent 050e066933
commit a2d4d5218d

View File

@@ -75,11 +75,11 @@
<h3>Reddit Posts</h3> <h3>Reddit Posts</h3>
<ul> <ul>
{% for post in posts %} {% for post in posts %}
{% ifequal post.kind 1 %} {% ifnotequal post.kind 1 %}
<p><b><a href="{{ post.permalink }}">{{ post.title }}</a></b> - /r/{{ post.subreddit }}</p> <p><b><a href="http://reddit.com{{ post.permalink }}">{{ post.title }}</a></b> - (/r/{{ post.subreddit }})</p>
{% else %} {% else %}
<p>{{ post.body }} - (/r/{{post.subreddit}}) <a href="{{ post.permalink }}/">Permalink</a></p> <p>{{ post.body }} - (/r/{{post.subreddit}}) <a href="{{ post.permalink }}/">Permalink</a></p>
{% endifequal %} {% endifnotequal %}
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}