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-07-20 05:11 pm

[dw-free] add "give a gift" link to the continue-shopping bit in the shop

[commit: http://hg.dwscoalition.org/dw-free/rev/030b40fba2bf]

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

Add "Give a Gift" link to the cart.

Patch by [staff profile] denise.

Files modified:
  • htdocs/shop/cart.bml
  • htdocs/shop/cart.bml.text
--------------------------------------------------------------------------------
diff -r c983aaae3857 -r 030b40fba2bf htdocs/shop/cart.bml
--- a/htdocs/shop/cart.bml	Mon Jul 20 10:58:34 2009 -0500
+++ b/htdocs/shop/cart.bml	Mon Jul 20 17:10:25 2009 +0000
@@ -38,11 +38,11 @@ body<=
             if $from_post{error};
     }
 
-    $ret .= "<p><a href='$LJ::SITEROOT/shop'>&lt;&lt; $ML{'.backlink'}</a></p>";
+    $ret .= "<p><a href='$LJ::SITEROOT/shop'>&lt;&lt; $ML{'.backlink'}</a> &bull; <a href='$LJ::SITEROOT/shop/gifts'>$ML{'.gift'}</a></p>";
 
     $ret .= LJ::Widget::ShopCart->render;
 
-    $ret .= "<p><a href='$LJ::SITEROOT/shop'>&lt;&lt; $ML{'.backlink'}</a></p>";
+    $ret .= "<p><a href='$LJ::SITEROOT/shop'>&lt;&lt; $ML{'.backlink'}</a> &bull; <a href='$LJ::SITEROOT/shop/gifts'>$ML{'.gift'}</a></p>";
 
     return $ret;
 }
diff -r c983aaae3857 -r 030b40fba2bf htdocs/shop/cart.bml.text
--- a/htdocs/shop/cart.bml.text	Mon Jul 20 10:58:34 2009 -0500
+++ b/htdocs/shop/cart.bml.text	Mon Jul 20 17:10:25 2009 +0000
@@ -2,4 +2,6 @@
 
 .backlink=Continue Shopping
 
+.gift=Give a Gift
+
 .title=Your Shopping Cart
--------------------------------------------------------------------------------