kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2010-08-25 05:54 pm

[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 [personal profile] ninetydegrees.

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
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org