Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package suse-xsl-stylesheets for openSUSE:Factory checked in at 2022-11-08 11:47:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suse-xsl-stylesheets (Old) and /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-xsl-stylesheets" Tue Nov 8 11:47:28 2022 rev:58 rq:1034280 version:2.86.5 Changes: -------- --- /work/SRC/openSUSE:Factory/suse-xsl-stylesheets/suse-xsl-stylesheets.changes 2022-10-27 13:54:29.936667465 +0200 +++ /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.1597/suse-xsl-stylesheets.changes 2022-11-08 11:47:30.299744887 +0100 @@ -1,0 +2,10 @@ +Fri Oct 28 06:19:00 UTC 2022 - Thomas Schraitle <thomas.schrai...@suse.com> - 2.86.5 + +- Update 2.86.5 + Related to #493/#504: Fix smaller layout issues + - subtitle overlaps with title + - book titles: add missing icons + - article titles: report bug link leads to empty title "" in Bugzilla + + +------------------------------------------------------------------- Old: ---- suse-xsl-2.86.4.tar.bz2 New: ---- suse-xsl-2.86.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-xsl-stylesheets.spec ++++++ --- /var/tmp/diff_new_pack.XE8Ym5/_old 2022-11-08 11:47:31.055748726 +0100 +++ /var/tmp/diff_new_pack.XE8Ym5/_new 2022-11-08 11:47:31.067748788 +0100 @@ -17,7 +17,7 @@ Name: suse-xsl-stylesheets -Version: 2.86.4 +Version: 2.86.5 Release: 0 %define reponame suse-xsl ++++++ suse-xsl-2.86.4.tar.bz2 -> suse-xsl-2.86.5.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.4/ChangeLog new/suse-xsl-2.86.5/ChangeLog --- old/suse-xsl-2.86.4/ChangeLog 2022-10-25 14:49:25.000000000 +0200 +++ new/suse-xsl-2.86.5/ChangeLog 2022-10-28 08:13:42.000000000 +0200 @@ -1,4 +1,14 @@ ------------------------------------------------------------------- +Fri Oct 28 08:11:00 UTC 2022 - toms...@users.noreply.github.com + +- Update 2.86.5 + - Related to #493/DOCTEAM-732: Fixed several layout issues + - subtitle overlaps with title + - book title misses report bug/edit source icons + - article titles: report bug link leads to empty title "" + in Bugzilla + +------------------------------------------------------------------- Tue Oct 25 13:45:00 UTC 2022 - toms...@users.noreply.github.com - Update 2.86.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.4/Makefile new/suse-xsl-2.86.5/Makefile --- old/suse-xsl-2.86.4/Makefile 2022-10-25 14:49:25.000000000 +0200 +++ new/suse-xsl-2.86.5/Makefile 2022-10-28 08:13:42.000000000 +0200 @@ -11,7 +11,7 @@ SHELL := /bin/bash PACKAGE := suse-xsl-stylesheets -VERSION := 2.86.4 +VERSION := 2.86.5 CDIR := $(shell pwd) SUSE_XML_PATH := $(PREFIX)/xml/suse DB_XML_PATH := $(PREFIX)/xml/docbook diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.4/source-assets/styles2022/sass/custom/content-title.sass new/suse-xsl-2.86.5/source-assets/styles2022/sass/custom/content-title.sass --- old/suse-xsl-2.86.4/source-assets/styles2022/sass/custom/content-title.sass 2022-10-25 14:49:25.000000000 +0200 +++ new/suse-xsl-2.86.5/source-assets/styles2022/sass/custom/content-title.sass 2022-10-28 08:13:42.000000000 +0200 @@ -31,7 +31,8 @@ font-size: 28px font-weight: normal line-height: 120% - margin: -40px 0 50px + margin-top: 1.25rem + margin-bottom: 2.5rem width: 100% @@ -182,16 +183,6 @@ .icon-reportbug margin-right: 1rem - // @include m_mobile - // margin-right: 0.1rem - -// .icon-reportbug img, -// .icon-editsource img -// border: 2pt solid $c_white -// // &:hover, -// // &:focus -// // border: 2pt solid $c_jungle -// // overflow: hidden .icon-editsource, .icon-reportbug diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.4/suse2022-ns/static/css/style.css new/suse-xsl-2.86.5/suse2022-ns/static/css/style.css --- old/suse-xsl-2.86.4/suse2022-ns/static/css/style.css 2022-10-25 14:49:25.000000000 +0200 +++ new/suse-xsl-2.86.5/suse2022-ns/static/css/style.css 2022-10-28 08:13:42.000000000 +0200 @@ -2270,7 +2270,8 @@ font-size: 28px; font-weight: normal; line-height: 120%; - margin: -40px 0 50px; + margin-top: 1.25rem; + margin-bottom: 2.5rem; width: 100%; } .appendix .title, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.4/suse2022-ns/static/js/script.js new/suse-xsl-2.86.5/suse2022-ns/static/js/script.js --- old/suse-xsl-2.86.4/suse2022-ns/static/js/script.js 2022-10-25 14:49:25.000000000 +0200 +++ new/suse-xsl-2.86.5/suse2022-ns/static/js/script.js 2022-10-28 08:13:42.000000000 +0200 @@ -169,10 +169,8 @@ function bugzillaUrl(sectionName, permalink) { console.groupCollapsed("bugzillaUrl"); - console.log("sectionName '%s'", sectionName); - console.log("permalink: '%s'", permalink); - var body = sectionName + ":\n\n" + permalink; + var body = sectionName + ":\n\n" + (permalink || ""); if (bscTemplate) { if (bscTemplate.indexOf('@@source@@') !== -1) { body = bscTemplate.replace(/@@source@@/i, body); @@ -185,7 +183,12 @@ + '&component=' + encodeURIComponent(bscComponent) + "&short_desc=" + encodeURIComponent('[doc] Issue in "' + sectionName + '"') + "&comment=" + encodeURIComponent(body); - if (bscAssignee) { + + console.log("sectionName '%s'", sectionName); + console.log("permalink: '%s'", permalink || ""); + console.log("body: '%s'", body || ""); + + if (bscAssignee) { url += "&assigned_to=" + encodeURIComponent(bscAssignee); } if (bscVersion) { @@ -520,6 +523,16 @@ </h6> </div> </div + + or even this + + <div class="title-container"> + <h1 class="title"> + ... + <a class="permalink title="Permalink" href="...">#</a> + </h1> + <div class="icons">...</div> + </div> */ console.groupCollapsed(`addBugLinks ${index}`); var url = ""; @@ -527,31 +540,38 @@ var icon_reportbug = icons.getElementsByClassName("icon-reportbug")[0]; var permalink = this.getElementsByClassName("permalink")[0]; var title_number_name = this.getElementsByClassName("title-number-name")[0]; + var firsttitle = this.getElementsByClassName("title")[0]; + + if (permalink == undefined) { + // If permalink is not available, use the global URL + permalink = document.createElement("span"); + permalink.setAttribute("href", window.location.href) + permalink.textContent = "#"; + } - console.log("title-number-name:", - title_number_name, - "\npermalink:", - permalink, + console.log("title-number-name:", title_number_name, + "\npermalink:", permalink.href, "\ntitle-number:", // We need to check first as titles can have no div // with "title-number-name" class title_number_name != undefined ? title_number_name.getElementsByClassName("title-number")[0] : "n/a", ); - // Create empty <span> elements + // Create empty <span> element var sectionName = document.createElement("span"); - var sectionNumber = document.createElement("span"); if (title_number_name != undefined) { - sectionNumber = title_number_name.getElementsByClassName("title-number")[0]; sectionName = title_number_name.getElementsByClassName("title-name")[0]; } + else if (firsttitle != undefined) { + sectionName = firsttitle; + } if (bugtrackerType == 'bsc') { - url = bugzillaUrl(sectionName.textContent, permalink); + url = bugzillaUrl(sectionName.innerText, permalink.href); } else { - url = githubUrl(sectionName.textContent, permalink); + url = githubUrl(sectionName.innerText, permalink.href); } if (icon_reportbug != undefined) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.4/suse2022-ns/xhtml/titlepage.templates.xsl new/suse-xsl-2.86.5/suse2022-ns/xhtml/titlepage.templates.xsl --- old/suse-xsl-2.86.4/suse2022-ns/xhtml/titlepage.templates.xsl 2022-10-25 14:49:25.000000000 +0200 +++ new/suse-xsl-2.86.5/suse2022-ns/xhtml/titlepage.templates.xsl 2022-10-28 08:13:42.000000000 +0200 @@ -442,6 +442,13 @@ <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:info/d:copyright"/> </xsl:template> + <xsl:template match="d:title" mode="book.titlepage.recto.auto.mode"> + <div class="title-container" xsl:use-attribute-sets="book.titlepage.recto.style"> + <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> + <xsl:call-template name="generate.title.icons"/> + </div> + </xsl:template> + <xsl:template match="d:authorgroup" mode="book.titlepage.recto.auto.mode"> <xsl:call-template name="add.authorgroup"/> </xsl:template>