Announcement: release 1.5

3 views
Skip to first unread message

solsson

unread,
Mar 27, 2008, 3:27:21 PM3/27/08
to ReposStyle
Hello,

I've added a new release 1.5 to http://reposstyle.com/. Unlike in 1.4,
the path in the headline now starts with a slash, or a "C" in case the
page is "Collection of Repositories". Instead the trailing slash is
commented out in XSLT.

/Staffan

Scott

unread,
Mar 27, 2008, 4:04:55 PM3/27/08
to ReposStyle
On Mar 27, 12:27 pm, solsson <sols...@gmail.com> wrote:
> Hello,
>
> I've added a new release 1.5 tohttp://reposstyle.com/. Unlike in 1.4,
> the path in the headline now starts with a slash, or a "C" in case the
> page is "Collection of Repositories". Instead the trailing slash is
> commented out in XSLT.
>
> /Staffan

Still not fixed :(

No slash but the C is missing

https://svn.savannah.borgnet.us/svn/

solsson

unread,
Mar 27, 2008, 4:08:38 PM3/27/08
to ReposStyle
Here's the diff, for those of you who have customized

Index: repos.xsl
===================================================================
--- repos.xsl (revision 395)
+++ repos.xsl (revision 396)
@@ -93,7 +93,7 @@
<xsl:param name="fullpath" select="concat(/svn/index/@path,'/')"/>
<h2 id="path">
<xsl:call-template name="getFolderPathLinks">
- <xsl:with-param name="folders" select="substring($fullpath,2)"/>
+ <xsl:with-param name="folders" select="$fullpath"/>
</xsl:call-template>
<!-- rev found in footer instad - <xsl:if test="@rev">
<xsl:value-of select="$spacer"/>
@@ -194,7 +194,7 @@
<span id="folder" class="path{$classadd}">
<xsl:value-of select="$f"/>
</span>
- <span class="separator"><xsl:value-of select="'/'"/></span>
+ <!-- trailing slash: <span class="separator"><xsl:value-of
select="'/'"/></span> -->
</xsl:if>
<xsl:if test="string-length($rest)>0">
<a id="{$id}" href="{$return}" class="path{$classadd}">

solsson

unread,
Mar 27, 2008, 4:12:57 PM3/27/08
to ReposStyle
I might be confused. I'll look into this tomorrow again. At least the
sample at
http://reposstyle.com/samples/index-svnlistparentpath.html
worked. Maybe you got a cached stylesheet?

/Staffan

Scott

unread,
Mar 27, 2008, 4:14:04 PM3/27/08
to ReposStyle
On Mar 27, 12:27 pm, solsson <sols...@gmail.com> wrote:
> Hello,
>
> I've added a new release 1.5 tohttp://reposstyle.com/. Unlike in 1.4,
> the path in the headline now starts with a slash, or a "C" in case the
> page is "Collection of Repositories". Instead the trailing slash is
> commented out in XSLT.
>
> /Staffan

BTW if you try to do a diff between files you can't -- says you aren't
authencated which isn't a good idea.

All I need is what was changed.

Scott

unread,
Mar 27, 2008, 4:19:03 PM3/27/08
to ReposStyle
On Mar 27, 1:12 pm, solsson <sols...@gmail.com> wrote:
> I might be confused. I'll look into this tomorrow again. At least the
> sample athttp://reposstyle.com/samples/index-svnlistparentpath.html
> worked. Maybe you got a cached stylesheet?
>
> /Staffan
>
> On 27 Mar, 21:04, Scott <sgray...@gmail.com> wrote:
>
> > On Mar 27, 12:27 pm, solsson <sols...@gmail.com> wrote:
>
> > > Hello,
>
> > > I've added a new release 1.5 tohttp://reposstyle.com/. Unlike in 1.4,
> > > the path in the headline now starts with a slash, or a "C" in case the
> > > page is "Collection of Repositories". Instead the trailing slash is
> > > commented out in XSLT.
>
> > > /Staffan
>
> > Still not fixed :(
>
> > No slash but the C is missing
>
> >https://svn.savannah.borgnet.us/svn/

Ignore the posts -- its working now thanks to your diff :)
Reply all
Reply to author
Forward
0 new messages