diff options
author | 2012-09-22 15:45:07 +0200 | |
---|---|---|
committer | 2012-10-29 13:06:04 +0100 | |
commit | ddd8be39f5ac4c7a9f3997473bd239088b1403ae (patch) | |
tree | d70ee39f904fa89f5f7b1afb3fa4f48c881fd6b1 | |
parent | euscan: deb handler - adding support for Packages.gz or Packages.bz2 and vers... (diff) | |
download | euscan-ddd8be39f5ac4c7a9f3997473bd239088b1403ae.tar.gz euscan-ddd8be39f5ac4c7a9f3997473bd239088b1403ae.tar.bz2 euscan-ddd8be39f5ac4c7a9f3997473bd239088b1403ae.zip |
euscanwww: Wrapping herds and maintainers in <p> to put them in newlines
Signed-off-by: volpino <fox91@anche.no>
-rw-r--r-- | euscanwww/djeuscan/templates/euscan/_package_details.html | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/euscanwww/djeuscan/templates/euscan/_package_details.html b/euscanwww/djeuscan/templates/euscan/_package_details.html index b6a85ec..8746088 100644 --- a/euscanwww/djeuscan/templates/euscan/_package_details.html +++ b/euscanwww/djeuscan/templates/euscan/_package_details.html @@ -18,10 +18,12 @@ <dt>Herds</dt> <dd> {% for herd in package.herds.all %} - <a href="{% url "herd" herd.herd %}"> - {{ herd.herd }} - </a> - <{{ herd.email }}> + <p> + <a href="{% url "herd" herd.herd %}"> + {{ herd.herd }} + </a> + <{{ herd.email }}> + </p> {% endfor %} </dd> {% endif %} @@ -29,16 +31,18 @@ <dt>Maintainers</dt> <dd> {% for maintainer in package.maintainers.all %} - {% if maintainer.name != maintainer.email %} - <a href="{% url "maintainer" maintainer.id %}"> - {{ maintainer.name }} - </a> - <{{ maintainer.email }}> - {% else %} - <a href="{% url "maintainer" maintainer.id %}"> - {{ maintainer.email }} - </a> - {% endif %} + <p> + {% if maintainer.name != maintainer.email %} + <a href="{% url "maintainer" maintainer.id %}"> + {{ maintainer.name }} + </a> + <{{ maintainer.email }}> + {% else %} + <a href="{% url "maintainer" maintainer.id %}"> + {{ maintainer.email }} + </a> + {% endif %} + </p> {% endfor %} </dd> {% endif %} |