From: rick Date: Sun, 11 Apr 2010 17:10:57 +0000 (+0000) Subject: Minor changes to remove unnecessary newlines and spaces from the HTML output in short... X-Git-Tag: live~1049 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/e2eba8a3f2a5dd225b293bccffb4dc55fa1a504c Minor changes to remove unnecessary newlines and spaces from the HTML output in short-summary question lists. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@25 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/skins/default/templates/question_list/item.html b/forum/skins/default/templates/question_list/item.html index 9b08cfc..ccaca92 100644 --- a/forum/skins/default/templates/question_list/item.html +++ b/forum/skins/default/templates/question_list/item.html @@ -1,9 +1,4 @@ -{% load i18n %} -{% load humanize %} -{% load extra_filters %} -{% load extra_tags %} -{% load user_tags %} - +{% load i18n humanize extra_filters extra_tags user_tags %}
@@ -23,14 +18,10 @@

{{question.title}}

{% diff_date question.last_activity_at %} - {% if question.last_activity_by %} - {% user_signature_small_lite question.last_activity_by %} - {% endif %} + {% if question.last_activity_by %}{% user_signature_small_lite question.last_activity_by %}{% endif %}
-
- {% for tag in question.tagname_list %} - - {% endfor %} +
{% for tag in question.tagname_list %} + {% endfor %}
\ No newline at end of file diff --git a/forum/skins/default/templates/users/info_small_lite.html b/forum/skins/default/templates/users/info_small_lite.html index f492150..b54094c 100644 --- a/forum/skins/default/templates/users/info_small_lite.html +++ b/forum/skins/default/templates/users/info_small_lite.html @@ -1,6 +1 @@ -{% load i18n %} - -{% spaceless %} - {{ name }}  - {{ reputation }} -{% endspaceless %} \ No newline at end of file +{% load i18n %}{{ name }} {{ reputation }} \ No newline at end of file