diff options
author | Wookey <wookey@wookware.org> | 2011-07-11 02:10:22 +0100 |
---|---|---|
committer | Wookey <wookey@wookware.org> | 2011-07-11 02:10:22 +0100 |
commit | dc1327674c2676db02ccf525725019cd9115b699 (patch) | |
tree | 8b3a151a8512576ccfb6bb6578fe124c033c46c0 /templates/person.html | |
parent | c8ff8e3ef60c6eba0071e20664268c790c6a6aa6 (diff) | |
download | troggle-dc1327674c2676db02ccf525725019cd9115b699.tar.gz troggle-dc1327674c2676db02ccf525725019cd9115b699.tar.bz2 troggle-dc1327674c2676db02ccf525725019cd9115b699.zip |
remove all the DOS linefeeds
Diffstat (limited to 'templates/person.html')
-rw-r--r-- | templates/person.html | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/templates/person.html b/templates/person.html index bfc9c5c..48dafb7 100644 --- a/templates/person.html +++ b/templates/person.html @@ -1,43 +1,43 @@ -{% extends "base.html" %}
-{% load wiki_markup %}
-
-{% block title %}Person {{person|wiki_to_html_short}}{% endblock %}
-
-{% block editLink %}| <a href={{person.get_admin_url}}>Edit person {{person|wiki_to_html_short}}</a>{% endblock %}
-
-{% block contentheader %}
-<h2> {{person|wiki_to_html_short}} </h2>
-{% endblock %}
-
-{% block content %}
-{% if person.blurb %}
-{{person.blurb|safe}}
-{% endif %}
-
-{% for pic in person.photo_set.all %}
-{% if pic.is_mugshot %}
- <div class="figure">
- <p> <img src="{{ pic.thumbnail_image.url }}" class="thumbnail" />
- <p> {{ pic.caption }}</p>
- <p> <a href="{{ pic.get_admin_url }}">edit {{pic}}</a> </>
- </p>
- </p>
- </div>
-{% endif %}
-{% endfor %}
-<br class="clearfloat" />
-
-<h3>{{person|wiki_to_html_short}} has been on expo in the following years:</h3>
-<p>
-<ul>
-{% for personexpedition in person.personexpedition_set.all %}
- <li> <a href="{{ personexpedition.get_absolute_url }}">{{personexpedition.expedition.year}}</a>
- <span style="padding-left:{{personexpedition.persontrip_set.all|length}}0px; background-color:red"></span>
- {{personexpedition.persontrip_set.all|length}} trips
-</li>
-{% endfor %}
-</ul>
-</p>
-
-
-{% endblock %}
+{% extends "base.html" %} +{% load wiki_markup %} + +{% block title %}Person {{person|wiki_to_html_short}}{% endblock %} + +{% block editLink %}| <a href={{person.get_admin_url}}>Edit person {{person|wiki_to_html_short}}</a>{% endblock %} + +{% block contentheader %} +<h2> {{person|wiki_to_html_short}} </h2> +{% endblock %} + +{% block content %} +{% if person.blurb %} +{{person.blurb|safe}} +{% endif %} + +{% for pic in person.photo_set.all %} +{% if pic.is_mugshot %} + <div class="figure"> + <p> <img src="{{ pic.thumbnail_image.url }}" class="thumbnail" /> + <p> {{ pic.caption }}</p> + <p> <a href="{{ pic.get_admin_url }}">edit {{pic}}</a> </> + </p> + </p> + </div> +{% endif %} +{% endfor %} +<br class="clearfloat" /> + +<h3>{{person|wiki_to_html_short}} has been on expo in the following years:</h3> +<p> +<ul> +{% for personexpedition in person.personexpedition_set.all %} + <li> <a href="{{ personexpedition.get_absolute_url }}">{{personexpedition.expedition.year}}</a> + <span style="padding-left:{{personexpedition.persontrip_set.all|length}}0px; background-color:red"></span> + {{personexpedition.persontrip_set.all|length}} trips +</li> +{% endfor %} +</ul> +</p> + + +{% endblock %} |