Skip to content

Commit

Permalink
Surrounded the img tag with an if clause and added the disqus tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey Oordt committed Nov 5, 2010
1 parent a49cccb commit c5107ac
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/staffmembers/details.html
@@ -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 %}

0 comments on commit c5107ac

Please sign in to comment.