damned-lies r1194 - in trunk: . templates/people
- From: claudep svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r1194 - in trunk: . templates/people
- Date: Thu, 27 Nov 2008 21:44:14 +0000 (UTC)
Author: claudep
Date: Thu Nov 27 21:44:14 2008
New Revision: 1194
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1194&view=rev
Log:
2008-11-27 Claude Paroz <claude 2xlibre net>
* templates/people/person_list.html: Simplify and fix people image
display.
Modified:
trunk/ChangeLog
trunk/templates/people/person_list.html
Modified: trunk/templates/people/person_list.html
==============================================================================
--- trunk/templates/people/person_list.html (original)
+++ trunk/templates/people/person_list.html Thu Nov 27 21:44:14 2008
@@ -13,11 +13,11 @@
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
{% for person in person_list %}
<div class="maintainer">
- {% ifnotequal person.image '/media/img/nobody.png' %}
+ {% if person.image %}
<img class="people" src="{{ person.image }}" alt="{{ person.name }}" />
{% else %}
<img class="people" src="/media/img/nobody.png" alt="" />
- {% endifnotequal %}
+ {% endif %}
<a style="font-size: 120%;" href="{{ person.get_absolute_url }}">{{ person.name }}</a><br />
{% if person.webpage_url %}
<a href="{{ person.webpage_url }}">{{ person.webpage_url }}</a><br />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]