Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Surrounded the img tag with an if clause and added the disqus tag
- Loading branch information
Corey Oordt
committed
Nov 5, 2010
1 parent
a49cccb
commit c5107ac
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
{% extends 'site_base.html' %} | ||
{% load transmogrifiers %} | ||
{% load transmogrifiers disqus_tags %} | ||
{% block head_title %}{{ object}}{% endblock %} | ||
{% block body %} | ||
<h1 class="mb">{{ object}}</h1> | ||
<img src="{% resize object.photo.url 200 %}" alt="{{ object.get_full_name }}" class="left mb" /> | ||
{% if obj.photo %}<img src="{% resize object.photo.url 200 %}" alt="{{ object.get_full_name }}" class="left mb" />{% endif %} | ||
{{ object.bio|safe }} | ||
<div class="module entrylist clear-b mt"> | ||
{% for entry in object.entry_set.published %} | ||
{% include "viewpoint/entry_list_item.html" %} | ||
{% endfor %} | ||
</div> | ||
{% endblock %} | ||
{% block extra_body %} | ||
{% disqus_num_replies %} | ||
{% endblock %} |