diff --git a/LICENSE b/LICENSE index e6ead43..4cb1ecf 100644 --- a/LICENSE +++ b/LICENSE @@ -1,9 +1,9 @@ Copyright (c) 2008-2009, Nathan Borror All rights reserved. - + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - + Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this diff --git a/basic/blog/templates/admin/blog/post/change_form.html b/basic/blog/templates/admin/blog/post/change_form.html index 0728178..c044ca9 100644 --- a/basic/blog/templates/admin/blog/post/change_form.html +++ b/basic/blog/templates/admin/blog/post/change_form.html @@ -9,7 +9,7 @@ var content = '' content += '{% get_inline_types as inline_list %}' content += '' - + content += 'Inline type: ' content += ' ' - + content += 'Object: ' content += ' ' content += 'Loopup ' - + content += 'Class: ' content += '' - + content += '' content += '

Insert inlines into your body by choosing an inline type, then an object, then a class.

' - + var div = document.createElement('div'); div.setAttribute('style', 'margin-top:10px;'); div.innerHTML = content; - + body_div.insertBefore(div, document.getElementById('id_body').nextSibling); } - + function insertInline(type, id, classname) { if (type != '----------' && id != '') { inline = ''; @@ -50,7 +50,7 @@ body.value = body.value + inline + '\n'; } } - + addEvent(window, 'load', InlineInit); {% endblock %} \ No newline at end of file diff --git a/basic/blog/templates/blog/post_archive_year.html b/basic/blog/templates/blog/post_archive_year.html index 8add787..2b48e82 100644 --- a/basic/blog/templates/blog/post_archive_year.html +++ b/basic/blog/templates/blog/post_archive_year.html @@ -11,7 +11,7 @@

{% trans "Post archive for" %} {{ year }}

{% endblock %} -{% block content %} +{% block content %} {% endif %} - + {% if user.is_authenticated %}

Start a group

{% endif %} diff --git a/basic/groups/templates/groups/pages/page_detail.html b/basic/groups/templates/groups/pages/page_detail.html index f6bb943..d4081f9 100644 --- a/basic/groups/templates/groups/pages/page_detail.html +++ b/basic/groups/templates/groups/pages/page_detail.html @@ -13,6 +13,6 @@ {{ page.body|markdown }} -

Modifed {{ page.modified|timesince }} ago. +

Modifed {{ page.modified|timesince }} ago. {% if group|is_owner:user %}Edit{% endif %}

{% endblock %} \ No newline at end of file diff --git a/basic/media/templates/inlines/media_photo.html b/basic/media/templates/inlines/media_photo.html index 373675f..256a6a8 100644 --- a/basic/media/templates/inlines/media_photo.html +++ b/basic/media/templates/inlines/media_photo.html @@ -15,7 +15,7 @@ {% else %} - {% for object in object_list %} + {% for object in object_list %}

{{ object }}

diff --git a/basic/media/templates/media/video_detail.html b/basic/media/templates/media/video_detail.html index 5c17a41..ad258a2 100644 --- a/basic/media/templates/media/video_detail.html +++ b/basic/media/templates/media/video_detail.html @@ -10,5 +10,5 @@

{{ object.title }}

{% block content %} - + {% endblock %} \ No newline at end of file diff --git a/basic/movies/templates/movies/movie_detail.html b/basic/movies/templates/movies/movie_detail.html index 7e84b76..23deabc 100644 --- a/basic/movies/templates/movies/movie_detail.html +++ b/basic/movies/templates/movies/movie_detail.html @@ -14,13 +14,13 @@

Movies

{% load markup %}

{{ object.full_title }} {% if object.subtitle %}{{ object.subtitle }}

{% endif %} - + {% if object.cover %} Movie cover {% else %}
{% endif %} - + - + {% if object.review %}

Review

diff --git a/basic/music/templates/music/album_detail.html b/basic/music/templates/music/album_detail.html index 2fef6e6..e416f8b 100644 --- a/basic/music/templates/music/album_detail.html +++ b/basic/music/templates/music/album_detail.html @@ -15,27 +15,27 @@

Music Albums

{% load markup %}

{{ object.full_title }} {{ object.band.full_title }}

- + {% if object.cover %} Album cover {% else %}
{% endif %} - +
  • Label: {{ object.label.full_title }}
  • Released: {{ object.released|date:"d F Y" }}
  • Genre: {% for genre in object.genre.all %}{{ genre.title }}{% if not forloop.last %}, {% endif %}{% endfor %}
  • ASIN: {{ object.asin }} (Amazon)
- + {% if object.review %}

Review

{{ object.review|markdown:"safe" }}
{% endif %} - + {% if object.band.album_set.all %} {% ifnotequal object.band.album_set.count 1 %}

Other albums

@@ -48,7 +48,7 @@

Other albums

{% endifnotequal %} {% endif %} - + {% if object.tracks.all %}

Mp3's

    @@ -57,5 +57,5 @@

    Mp3's

    {% endfor %}
{% endif %} - + {% endblock %} \ No newline at end of file diff --git a/basic/music/templates/music/band_detail.html b/basic/music/templates/music/band_detail.html index ef23c07..e910660 100644 --- a/basic/music/templates/music/band_detail.html +++ b/basic/music/templates/music/band_detail.html @@ -13,7 +13,7 @@

Music Bands

{% block content %}

{{ object.full_title }} Website

- + {% if object.musicians.all %}

Members

{% endif %} - + {% if object.album_set.all %}

Albums

{% endif %} - + {% if object.band_set.all %}

Bands

{% endif %} - + {% if object.movie_set.all %}

Movies

{% endif %} - + {% endblock %} \ No newline at end of file diff --git a/basic/places/templates/places/place_detail.html b/basic/places/templates/places/place_detail.html index f2b8308..e1e1ddc 100644 --- a/basic/places/templates/places/place_detail.html +++ b/basic/places/templates/places/place_detail.html @@ -33,7 +33,7 @@

{{ object.point.address }}, Email
  • Type: {% for type in object.place_types.all %}{{ type }}{% if not forloop.last %}, {% endif %}{% endfor %}
  • - + {% if object.description %}

    Description

    diff --git a/basic/places/templates/places/place_list.html b/basic/places/templates/places/place_list.html index 1e7c8aa..d9312a4 100644 --- a/basic/places/templates/places/place_list.html +++ b/basic/places/templates/places/place_list.html @@ -16,7 +16,7 @@

    Places

  • {{ place.title }}
  • {% endfor %} - + {% if is_paginated %}

    {% if has_next %} diff --git a/basic/profiles/templates/profiles/profile_detail.html b/basic/profiles/templates/profiles/profile_detail.html index cecb828..dc1d9ed 100644 --- a/basic/profiles/templates/profiles/profile_detail.html +++ b/basic/profiles/templates/profiles/profile_detail.html @@ -20,7 +20,7 @@

    Services

    {% endfor %} {% endif %} - + {% if object.user.link_set.all %}

    Links