From ff14477f60f46dd5e17940fe407c3932e5a5f8d0 Mon Sep 17 00:00:00 2001 From: volpino Date: Sat, 28 Apr 2012 18:29:21 +0200 Subject: [PATCH] removing tabs and spaces mix in templates --- euscanwww/templates/_base.html | 70 ++++++++++----------- euscanwww/templates/euscan/_packages.html | 2 +- euscanwww/templates/euscan/category.html | 2 +- euscanwww/templates/euscan/herd.html | 2 +- euscanwww/templates/euscan/maintainer.html | 2 +- euscanwww/templates/euscan/maintainers.html | 10 +-- euscanwww/templates/euscan/package.html | 36 ++++++----- 7 files changed, 63 insertions(+), 61 deletions(-) diff --git a/euscanwww/templates/_base.html b/euscanwww/templates/_base.html index 22f9220..635aad3 100644 --- a/euscanwww/templates/_base.html +++ b/euscanwww/templates/_base.html @@ -15,7 +15,7 @@ @@ -24,44 +24,44 @@ diff --git a/euscanwww/templates/euscan/_packages.html b/euscanwww/templates/euscan/_packages.html index 68e5115..c39d11c 100644 --- a/euscanwww/templates/euscan/_packages.html +++ b/euscanwww/templates/euscan/_packages.html @@ -19,7 +19,7 @@ - {{ package.category }}/{{ package.name }} + {{ package.category }}/{{ package.name }} {% package_bar package %} diff --git a/euscanwww/templates/euscan/category.html b/euscanwww/templates/euscan/category.html index 6bd887a..66e034d 100644 --- a/euscanwww/templates/euscan/category.html +++ b/euscanwww/templates/euscan/category.html @@ -47,7 +47,7 @@
Packages
- + {% endblock %} diff --git a/euscanwww/templates/euscan/herd.html b/euscanwww/templates/euscan/herd.html index 38598fc..98e9951 100644 --- a/euscanwww/templates/euscan/herd.html +++ b/euscanwww/templates/euscan/herd.html @@ -45,7 +45,7 @@
Packages
- + {% endblock %} diff --git a/euscanwww/templates/euscan/maintainer.html b/euscanwww/templates/euscan/maintainer.html index a8803ab..dfa38b0 100644 --- a/euscanwww/templates/euscan/maintainer.html +++ b/euscanwww/templates/euscan/maintainer.html @@ -45,7 +45,7 @@
Packages
- + {% endblock %} diff --git a/euscanwww/templates/euscan/maintainers.html b/euscanwww/templates/euscan/maintainers.html index b0c833e..443950b 100644 --- a/euscanwww/templates/euscan/maintainers.html +++ b/euscanwww/templates/euscan/maintainers.html @@ -24,11 +24,11 @@ - {% if maintainer.maintainers__name != maintainer.maintainers__email %} - {{ maintainer.maintainers__name }} <{{ maintainer.maintainers__email }}> - {% else %} - {{ maintainer.maintainers__name }} - {% endif %} + {% if maintainer.maintainers__name != maintainer.maintainers__email %} + {{ maintainer.maintainers__name }} <{{ maintainer.maintainers__email }}> + {% else %} + {{ maintainer.maintainers__name }} + {% endif %} {% package_bar maintainer %} diff --git a/euscanwww/templates/euscan/package.html b/euscanwww/templates/euscan/package.html index eafab82..819f143 100644 --- a/euscanwww/templates/euscan/package.html +++ b/euscanwww/templates/euscan/package.html @@ -51,7 +51,7 @@ {% for maintainer in package.maintainers.all %} {% if maintainer.name != maintainer.email %} - {{ maintainer.name }} + {{ maintainer.name }} <{{ maintainer.email }}> {% else %} @@ -68,12 +68,12 @@ @@ -85,8 +85,8 @@ @@ -101,14 +101,16 @@ {% else %}
  • {% endif %} - {% if version.overlay == "gentoo" %} - gentoo - {% else %}{% if version.overlay %} - overlays - {% else %} - upstream - {% endif %}{% endif %} - {{ version }} - {{ version.datetime }} + {% if version.overlay == "gentoo" %} + gentoo + {% elif version.overlay %} + overlays + {% else %} + upstream + {% endif %} + + {{ version }} - {{ version.datetime }} +
  • {% endfor %}