afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-06-20 05:55 am

[dw-free] add link to "display" options to logged-out pages

[commit: http://hg.dwscoalition.org/dw-free/rev/23fdec96b7f1]

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

Add link under the Create menu.

Patch by [personal profile] kareila.

Files modified:
  • bin/upgrading/en.dat
  • cgi-bin/DW/Logic/MenuNav.pm
--------------------------------------------------------------------------------
diff -r 5da67ac66a96 -r 23fdec96b7f1 bin/upgrading/en.dat
--- a/bin/upgrading/en.dat	Thu Jun 18 14:13:55 2009 +0000
+++ b/bin/upgrading/en.dat	Sat Jun 20 05:54:04 2009 +0000
@@ -2145,6 +2145,8 @@ menunav.create.createaccount=Create Acco
 
 menunav.create.createcommunity=Create Community
 
+menunav.create.displayprefs=Display Preferences
+
 menunav.create.editjournal=Edit Entries
 
 menunav.create.editprofile=Edit Profile
diff -r 5da67ac66a96 -r 23fdec96b7f1 cgi-bin/DW/Logic/MenuNav.pm
--- a/cgi-bin/DW/Logic/MenuNav.pm	Thu Jun 18 14:13:55 2009 +0000
+++ b/cgi-bin/DW/Logic/MenuNav.pm	Sat Jun 20 05:54:04 2009 +0000
@@ -64,6 +64,11 @@ sub get_menu_navigation {
                 {
                     url => "$LJ::SITEROOT/create.bml",
                     text => "menunav.create.createaccount",
+                    display => $loggedout,
+                },
+                {
+                    url => "$LJ::SITEROOT/manage/settings/?cat=display",
+                    text => "menunav.create.displayprefs",
                     display => $loggedout,
                 },
                 {
--------------------------------------------------------------------------------
cesy: "Cesy" - An old-fashioned quill and ink (Default)

Once again, Dreamwidth is awesome

[personal profile] cesy 2009-06-20 11:06 am (UTC)(link)
I love that the comments in changelog here make it nice and easy to understand what the fix is meant to do, unlike LJ.