[Blends-commit] [SCM] website branch, master, updated. 363a89cb8c1121c8f737dfb96526466df2ad3817

Ole Streicher debian at liska.ath.cx
Thu Dec 17 11:10:19 UTC 2015


The following commit has been merged in the master branch:
commit 4647ef2f736dfdf2070c341a5403d1ca36127b4f
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Thu Dec 17 11:13:11 2015 +0100

    Replace tooltips by 'title' attribute in links

diff --git a/webtools/templates/packages.xhtml b/webtools/templates/packages.xhtml
index 36f205a..54240e4 100644
--- a/webtools/templates/packages.xhtml
+++ b/webtools/templates/packages.xhtml
@@ -211,16 +211,14 @@ function show_fulldesc(hash) {
 	</em>
 	<py:choose>
 	  <py:when test="lang in tasks[task].metapkg.desc">
-	    <a class="editlink tooltip" href="http://ddtp.debian.net/ddtss/index.cgi/${lang}/forexternalreview/${tasks[task].metapkg.pkg}" py:if="lang != 'en'">
+	    <a class="editlink" title="${fixtranslation}" href="http://ddtp.debian.net/ddtss/index.cgi/${lang}/forexternalreview/${tasks[task].metapkg.pkg}" py:if="lang != 'en'">
 	      ✏
-	      <span>${fixtranslation}</span>
 	    </a>
 	    ${tasks[task].metapkg.desc[lang]['long']}
 	  </py:when>
 	  <py:otherwise>
-	    <a class="editlink tooltip" href="http://ddtp.debian.net/ddtss/index.cgi/${lang}/fetch?package=${tasks[task].metapkg.pkg}" py:if="lang != 'en'">
+	    <a class="editlink" title="${translatedesc}" href="http://ddtp.debian.net/ddtss/index.cgi/${lang}/fetch?package=${tasks[task].metapkg.pkg}" py:if="lang != 'en'">
 	      ✏
-	      <span>${translatedesc}</span>
 	    </a>
 	    ${tasks[task].metapkg.desc['en']['long']}
 	  </py:otherwise>
@@ -300,7 +298,8 @@ function show_fulldesc(hash) {
 		  </py:if>
 		</td>
 		<td>
-		  <a onclick="toggle_visibility('${project.pkg}');" style="cursor:pointer;">
+		  <a onclick="toggle_visibility('${project.pkg}');"
+		     style="cursor:pointer;" title="Click to toggle details">
 		    <py:choose>
 	              <py:when test="lang in project.desc">${project.desc[lang]['short']}</py:when>
 	              <py:otherwise>${project.desc['en']['short']}</py:otherwise>
@@ -345,9 +344,8 @@ function show_fulldesc(hash) {
 		    <dd>
 		      <py:choose>
 			<py:when test="lang != 'en' and lang in project.desc">
-			  <a class="editlink tooltip" href="http://ddtp.debian.net/ddtss/index.cgi/${lang}/forexternalreview/${project.pkg}">
+			  <a class="editlink" title="${fixtranslation}" href="http://ddtp.debian.net/ddtss/index.cgi/${lang}/forexternalreview/${project.pkg}">
 			    ✏
-			    <span>${fixtranslation}</span>
 			  </a>
 			  ${project.desc[lang]['long']}
 			</py:when>
@@ -441,9 +439,8 @@ function show_fulldesc(hash) {
 		    <py:if test="project.debtags">
 		      <dt>Tags</dt>
 		      <dd>
-			<a class="editlink tooltip" href="http://debtags.alioth.debian.org/edit.html?pkg=${project.pkg}">
+			<a class="editlink" title="Edit tags" href="http://debtags.alioth.debian.org/edit.html?pkg=${project.pkg}">
 			  ✏
-			  <span>Edit tags</span>
 			</a>
 			<dl class="debtags desc-inline">
 			  <py:for each="debtag in project.debtags">

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list