missing ubuntu version in the trail of the html pages

Bug #1074126 reported by YoBoY
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server Guide
Fix Released
Undecided
Doug Smythies

Bug Description

On the ubuntu Desktop guide we have a trail on the top of the html page with the ubuntu version like this :
Ubuntu 12.10 » Help Ubuntu Desktop Guide » …

But on the Ubuntu Server guide html pages, the top trail don't start with this ubuntu version and don't let us know which version we are ready or jump to the list of guides for this version.

Revision history for this message
YoBoY (yoboy-leguesh) wrote :

Ok, found it,

The <xsl:template name="db2html.linktrail"> in ubuntu.xsl is wrong and have to be replaced by :
<xsl:template name="db2html.links.linktrail">

We have also to put everything in a <div class="trails">…</div> to have the background behind this trail.

Revision history for this message
Doug Smythies (dsmythies) wrote :

I have a test version with some changes and I am able to observe what you are referring to.
However, it is not clear how to do your second point. Is the "<div class="trails">…</div>" part a change from the "trail" one that is already there or an additional one on top of that? I have a tried both ways and do not notice a difference when viewing the resulting HMTL.

i.e. I have this now:

<xsl:template name="db2html.links.linktrail">
  <xsl:param name="node" select="."/>
  <div class="trails">
  <div class="trail">
        <a href="https://help.ubuntu.com/12.04" class="trail">Ubuntu 12.04</a>

(Ignore the 12.04 part, as it hasn't been changed to 13.04 yet, and it doesn't appear to have been done for 12.10)

Changed in serverguide:
status: New → Confirmed
Revision history for this message
YoBoY (yoboy-leguesh) wrote :

Sorry, I wasn't clear enough. I should have posted my solution a long time ago. Seems OK for me like that, I have done the same thing on my local copy.

When I reported this bug, I had that code:
<xsl:template name="db2html.linktrail">
  <xsl:param name="node" select="."/>
  <div class="trail">…

And I fixed it with that:
<xsl:template name="db2html.links.linktrail">
  <xsl:param name="node" select="."/>
  <div class="trails"><div class="trail">…

Same result :)

Thanks.

Changed in serverguide:
status: Confirmed → In Progress
assignee: nobody → Doug Smythies (dsmythies)
Changed in serverguide:
status: In Progress → Fix Committed
Changed in serverguide:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.