[dw-free] Styles: Add links to Your Layers
[commit: http://hg.dwscoalition.org/dw-free/rev/4bffb230283d]
http://bugs.dwscoalition.org/show_bug.cgi?id=2895
Add link to S2 documentation page from the "Your Layers" page.
Patch by
ninetydegrees.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2895
Add link to S2 documentation page from the "Your Layers" page.
Patch by
Files modified:
- htdocs/customize/advanced/layers.bml
- htdocs/customize/advanced/layers.bml.text
--------------------------------------------------------------------------------
diff -r 60fbfc24d9e2 -r 4bffb230283d htdocs/customize/advanced/layers.bml
--- a/htdocs/customize/advanced/layers.bml Wed Aug 25 12:47:33 2010 -0500
+++ b/htdocs/customize/advanced/layers.bml Wed Aug 25 12:54:26 2010 -0500
@@ -87,6 +87,9 @@ _c?>
$body .= BML::ml("Backlink", {
'link' => "$LJ::SITEROOT/customize/advanced/",
'text' => $ML{'.back2'},
+ }) . "\n";
+ $body .= BML::ml("Actionlink", {
+ 'link' => "<a href='$LJ::SITEROOT/doc/s2/'>$ML{'.nav.documentation'}</a>",
}) . "\n";
$body .= BML::ml("Actionlink", {
'link' => "<a href='$LJ::SITEROOT/customize/advanced/layerbrowse'>$ML{'.nav.publiclayers'}</a>",
diff -r 60fbfc24d9e2 -r 4bffb230283d htdocs/customize/advanced/layers.bml.text
--- a/htdocs/customize/advanced/layers.bml.text Wed Aug 25 12:47:33 2010 -0500
+++ b/htdocs/customize/advanced/layers.bml.text Wed Aug 25 12:54:26 2010 -0500
@@ -73,6 +73,8 @@
.error.youcantuseadvanced=Your account type does not allow advanced customization.
+.nav.documentation=Documentation
+
.nav.publiclayers=Public Layers
.nav.yourstyles=Your Styles
--------------------------------------------------------------------------------
