fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-11-29 02:19 am

[dw-free] Link back to support from support notifications page

[commit: http://hg.dwscoalition.org/dw-free/rev/8cc7e00fc793]

http://bugs.dwscoalition.org/show_bug.cgi?id=3265

Add links back to the main support page and the support board after changing
support notification preferences.

Patch by [personal profile] ninetydegrees.

Files modified:
  • htdocs/support/changenotify.bml
  • htdocs/support/changenotify.bml.text
--------------------------------------------------------------------------------
diff -r 2d7f013b42b0 -r 8cc7e00fc793 htdocs/support/changenotify.bml
--- a/htdocs/support/changenotify.bml	Sat Nov 27 00:24:06 2010 +0800
+++ b/htdocs/support/changenotify.bml	Mon Nov 29 10:19:26 2010 +0800
@@ -115,7 +115,11 @@ body<=
      }     
      if ($sql) { $dbh->do($sql); }
      
-     return "<?h1 $ML{'.success.title'} h1?><?p $ML{'.success.text'} p?>";
+    return "<?h1 $ML{'.success.title'} h1?>\n" .
+                "<?p $ML{'.success.text'} p?>" .
+                    "<?p $ML{'.success.fromhere'} p?>" .
+                    "<ul><li><a href='$LJ::SITEROOT/support/help'>$ML{'.success.fromhere.board'}</a></li>" .
+                    "<li><a href='$LJ::SITEROOT/support'>$ML{'.success.fromhere.support'}</a></li></ul>";
  }
 
  return $ML{'.unknow.mode'};
diff -r 2d7f013b42b0 -r 8cc7e00fc793 htdocs/support/changenotify.bml.text
--- a/htdocs/support/changenotify.bml.text	Sat Nov 27 00:24:06 2010 +0800
+++ b/htdocs/support/changenotify.bml.text	Mon Nov 29 10:19:26 2010 +0800
@@ -19,6 +19,12 @@
 
 .submit.button=Save Changes
 
+.success.fromhere=From here you can:
+
+.success.fromhere.board=Return to the Support Board
+
+.success.fromhere.support=Go to the Support Area
+
 .success.text=Your notification settings have been updated. 
 
 .success.title=Success
--------------------------------------------------------------------------------