[Blends-commit] [SCM] website branch, master, updated. 2ceb7bfa6a1783ba36a6caabb4694ac04c6b3768

Ole Streicher olebole at debian.org
Sat Dec 5 16:46:41 UTC 2015


The following commit has been merged in the master branch:
commit 2ceb7bfa6a1783ba36a6caabb4694ac04c6b3768
Author: Ole Streicher <olebole at debian.org>
Date:   Sat Dec 5 17:46:38 2015 +0100

    Dont use inline lists in package description

diff --git a/webtools/templates/packages.xhtml b/webtools/templates/packages.xhtml
index 151a79b..0e736f2 100644
--- a/webtools/templates/packages.xhtml
+++ b/webtools/templates/packages.xhtml
@@ -63,15 +63,15 @@
     width: 1px;
     white-space: nowrap;
 }
-.pkgdesc-full ul {
+ul.desc-inline {
     padding: 0;
     margin: 0;
 }
-.pkgdesc-full ul li {
+ul.desc-inline li {
     display: inline;
 }
 
-.pkgdesc-full ul li + li::before {
+.ul.desc-inline li + li::before {
     content: " \2022 ";
 }
     </style>
@@ -290,7 +290,7 @@ function show_fulldesc(hash) {
 		    <py:if test="project.responsible != None">
 		      <dt>${maintainer[pstatus]}</dt>
 		      <dd>
-			<ul>
+			<ul class="desc-inline">
 			  <li>
 			    ${project.responsible}
 			  </li>
@@ -305,7 +305,7 @@ function show_fulldesc(hash) {
 		    <py:if test="project.version != []">
 		      <dt>Versions</dt>
 		      <dd>
-			<ul>
+			<ul class="desc-inline">
 			  <py:for each="version in project.version">
 			    <py:choose>
 			      <py:when test="isinstance(version, (str, unicode))">
@@ -325,7 +325,7 @@ function show_fulldesc(hash) {
 		    <py:if test="project.properties['Enhances'] != {}">
 		      <dt>Enhanced by</dt>
 		      <dd>
-			<ul>
+			<ul class="desc-inline">
 			  <py:for each="enh in project.properties['Enhances'].keys()">
 			    <li>
 			      <a href="${project.properties['Enhances'][enh]}">
@@ -338,7 +338,7 @@ function show_fulldesc(hash) {
 		    </py:if>
 		    <dt>Debian</dt>
 		    <dd>
-		      <ul>
+		      <ul class="desc-inline">
 			<py:if test="'wnpp' in project.properties">
 			  <li>
 			    <a href="http://bugs.debian.org/${project.properties['wnpp']}">
@@ -377,7 +377,7 @@ function show_fulldesc(hash) {
 		    <py:if test="'homepage' in project.properties">
 		      <dt>Upstream</dt>
 		      <dd>
-			<ul>
+			<ul class="desc-inline">
 			  <li>
 			    <a href="${project.properties['homepage']}">
 			      Home page
@@ -402,7 +402,7 @@ function show_fulldesc(hash) {
 		    </py:if>
 		    <dt>Improve entry</dt>
 		    <dd>
-		      <ul>
+		      <ul class="desc-inline">
 			<li>
 			  <a href="http://screenshots.debian.net/uploadfile?packagename=${project.pkg}">
 			    Screenshots

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list