Skip to content

Commit

Permalink
Universal Wiki edit button, markdown added to project
Browse files Browse the repository at this point in the history
  • Loading branch information
LeifW committed May 23, 2010
1 parent bf60e71 commit 536825d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions project/build/MusicProject.scala
Expand Up @@ -10,6 +10,8 @@ class MusicProject(info: ProjectInfo) extends DefaultWebProject(info)
val jettytester = "org.mortbay.jetty" % "jetty-servlet-tester" % "6.1.22" % "test"

val scalatest = "org.scalatest" % "scalatest" % "1.0" % "test"
val knockoff = "com.tristanhunt" %% "knockoff" % "0.7.0-10"
val t_repo = "t_repo" at "http://tristanhunt.com:8081/content/groups/public/"
}

// vim: set ts=2 sw=2 et:
1 change: 1 addition & 0 deletions src/main/pxsl/root.pxsl
Expand Up @@ -8,6 +8,7 @@ xsl:stylesheet -version=1.0 -xmlns:xsl=http://www.w3.org/1999/XSL/Transform -xml
head
title <<MusicPath: >>
value-of */@title
link -rel=alternate -type=application/x-wiki -title=<<Edit this page>> -href={concat('/',name(*),'/',*/@ref,'/edit')}
body
apply-templates

Expand Down
1 change: 1 addition & 0 deletions src/main/webapp/stylesheets/root.xsl
Expand Up @@ -7,6 +7,7 @@
<head>
<title>MusicPath: <xsl:value-of select="*/@title"/>
</title>
<link rel="alternate" type="application/x-wiki" title="Edit this page" href="{concat('/',name(*),'/',*/@ref,'/edit')}"/>
</head>
<body>
<xsl:apply-templates/>
Expand Down

0 comments on commit 536825d

Please sign in to comment.