This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap-website".
The branch, master has been updated
via 7d6e918080c0e9b155435c2537f8566aa352f11d (commit)
from 7df66b71b2d21145e83e9d9de03710ece412c208 (commit)
Summary of changes:
src/Main.hs | 4 ++--
templates/wrap.tpl | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7d6e918080c0e9b155435c2537f8566aa352f11d
Author: Mighty Byte <[email protected]>
Date: Sun May 30 14:17:33 2010 -0400
Re-added "powered by snap" to the footer.
diff --git a/src/Main.hs b/src/Main.hs
index 49ffa05..a39776e 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -145,7 +145,7 @@ apidoc mvar = do
, ("src", src ) ] [] ]
serverVersion :: Splice Snap
-serverVersion = return $ [Text (B.append "Snap-" snapServerVersion)]
+serverVersion = return $ [Text snapServerVersion]
main :: IO ()
@@ -158,7 +158,7 @@ main = do
setLocaleToUTF8
(origTs,staticState) <- bindStaticTag .
- bindSplice "server" serverVersion
+ bindSplice "snap-version" serverVersion
$ emptyTemplateState
ets <- loadTemplates "templates" origTs
diff --git a/templates/wrap.tpl b/templates/wrap.tpl
index c5ad569..5f98008 100644
--- a/templates/wrap.tpl
+++ b/templates/wrap.tpl
@@ -13,11 +13,12 @@
</div><!--end main-->
<div id="footer">
-Snap is <a rel="license" href="http://creativecommons.org/licenses/BSD/">BSD
+<p>Snap is <a rel="license" href="http://creativecommons.org/licenses/BSD/">BSD
licensed</a>. This website and the documents hosted here are licensed under
a <a rel="license"
href="http://creativecommons.org/licenses/by-nd/3.0/">Creative Commons
-Attribution-NoDerivs 3.0 Unported License.</a>
+Attribution-NoDerivs 3.0 Unported License.</a></p>
+<p>Powered by Snap <snap-version/></p>
</div><!--end footer-->
-----------------------------------------------------------------------
hooks/post-receive
--
snap-website
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap