aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Bacherikov <slava@bacher09.org>2012-08-11 21:34:33 +0300
committerSlava Bacherikov <slava@bacher09.org>2012-08-11 21:34:33 +0300
commit9b1ff52f5dfcd617ad2f84640f8216e604a70db5 (patch)
tree1b2a007b3980c9ee75772a47e0ea7dfd4bd7a122
parentExtend filtering view (diff)
downloadgentoo-packages-9b1ff52f5dfcd617ad2f84640f8216e604a70db5.tar.gz
gentoo-packages-9b1ff52f5dfcd617ad2f84640f8216e604a70db5.tar.bz2
gentoo-packages-9b1ff52f5dfcd617ad2f84640f8216e604a70db5.zip
Add spaceless to some templates
-rw-r--r--gpackages/templates/includes/recent_ebuilds.html6
-rw-r--r--gpackages/templates/modals/filtering_modal.html2
2 files changed, 5 insertions, 3 deletions
diff --git a/gpackages/templates/includes/recent_ebuilds.html b/gpackages/templates/includes/recent_ebuilds.html
index b7a2746..3fc0c2a 100644
--- a/gpackages/templates/includes/recent_ebuilds.html
+++ b/gpackages/templates/includes/recent_ebuilds.html
@@ -1,12 +1,12 @@
+{% spaceless %}
<div class="well">
<ul class="nav nav-list recent-ebuilds">
<li class="nav-header">Recent Ebuilds</li>
{% for ebuild in ebuilds %}
<li>
- <a href="{{ ebuild.package.get_absolute_url }}">
- {{ ebuild.cpv_or_cpvr }}
- </a>
+ <a href="{{ ebuild.package.get_absolute_url }}">{{ ebuild.cpv_or_cpvr }}</a>
</li>
{% endfor %}
</ul>
</div>
+{% endspaceless %}
diff --git a/gpackages/templates/modals/filtering_modal.html b/gpackages/templates/modals/filtering_modal.html
index 66719e7..5fb9e7f 100644
--- a/gpackages/templates/modals/filtering_modal.html
+++ b/gpackages/templates/modals/filtering_modal.html
@@ -1,6 +1,7 @@
{% load url from future %}
{% load static %}
{% get_static_prefix as STATIC_URL %}
+{% spaceless %}
<div class="modal hide fade" id="FilterModal">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
@@ -22,3 +23,4 @@
<script type="text/javascript" charset="utf-8">
$('select').chosen(); // :)
</script>
+{% endspaceless %}