You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/17 15:44:54 UTC
[maven-fluido-skin] branch master updated: [MSKINS-139] added edit
button with link to scm source when editable
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git
The following commit(s) were added to refs/heads/master by this push:
new 79ad779 [MSKINS-139] added edit button with link to scm source when editable
79ad779 is described below
commit 79ad779b4ead1db59b8c30af4d2043c974baa2f5
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Dec 17 16:44:52 2017 +0100
[MSKINS-139] added edit button with link to scm source when editable
---
src/main/resources/META-INF/maven/site.vm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/main/resources/META-INF/maven/site.vm b/src/main/resources/META-INF/maven/site.vm
index 6bc5526..31e316e 100644
--- a/src/main/resources/META-INF/maven/site.vm
+++ b/src/main/resources/META-INF/maven/site.vm
@@ -222,6 +222,10 @@
<ul class="breadcrumb">
#* *##publishDate( "left" $decoration.publishDate $decoration.version )
#* *##publishDate( "right" $decoration.publishDate $decoration.version )
+#if( $decoration.edit && $docRenderingContext.editable )
+ <li class="pull-right"><a href="$docRenderingContext.getDoxiaSourcePath( $decoration.edit )"><img src="$relativePath/images/accessories-text-editor.png" alt="edit" /></a></li>
+#end
+##
#* *### MSITE-44
#* *##if ( !$topBarEnabled
&& $decoration.body.links
--
To stop receiving notification emails like this one, please contact
['"commits@maven.apache.org" <co...@maven.apache.org>'].