[Blends-commit] [SCM] website branch, master, updated. 2151349896cd3c8494c2c1d86475394b05d2f6e7

Ole Streicher olebole at debian.org
Wed Jul 20 08:27:03 UTC 2016


The following commit has been merged in the master branch:
commit 2151349896cd3c8494c2c1d86475394b05d2f6e7
Author: Ole Streicher <olebole at debian.org>
Date:   Wed Jul 20 10:26:58 2016 +0200

    Fix screenshot upload URL

diff --git a/webtools/templates/packages.xhtml b/webtools/templates/packages.xhtml
index f738439..7b91e7d 100644
--- a/webtools/templates/packages.xhtml
+++ b/webtools/templates/packages.xhtml
@@ -609,7 +609,7 @@ function show_fulldesc(hash) {
 		      <dd>
 			<ul class="desc-inline">
 			  <li py:if="'screenshot' not in  project.properties">
-			    <a href="https://screenshots.debian.net/uploadfile?packagename=${project.properties['name']}">
+			    <a href="https://screenshots.debian.net/package/${project.properties['name']}">
 			      Upload Screenshot
 			    </a>
 			  </li>
diff --git a/webtools/templates/tasks.xhtml b/webtools/templates/tasks.xhtml
index c9dd43a..2345ec0 100644
--- a/webtools/templates/tasks.xhtml
+++ b/webtools/templates/tasks.xhtml
@@ -214,7 +214,7 @@
                  <a href="https://screenshots.debian.net/package/${project.properties['name']}"><img class="icon" src="${project.properties['screenshot']['icon']}" width="300" alt="Screenshots of package ${project.properties['name']}" onmouseover="TagToTip('${project.properties['name']}-screenshot', FIX, ['${project.properties['name']}', 80, -100])" onmouseout="UnTip()" /></a>
                </div>
 	       <div py:otherwise=""
-		    class="project-infomissing"><a href="https://screenshots.debian.net/uploadfile?packagename=${project.properties['name']}">Upload screenshot</a></div>
+		    class="project-infomissing"><a href="https://screenshots.debian.net/package/${project.properties['name']}">Upload screenshot</a></div>
 	     </div>
            </td>
          </tr>

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list