Fix problems with the Sales tab in the Shop Account plugin.

Only display the Sales tab to vendors, and prevent www_viewSales from erroring out if the
user is not a vendor.  New template, template variable, i18n.
This commit is contained in:
Colin Kuskie 2010-01-18 08:51:17 -08:00
parent 022495506f
commit 1e7f443126
5 changed files with 36 additions and 21 deletions

View file

@ -18,6 +18,7 @@ our $HELP = {
variables => [
{ name => "manage_purchases_url", },
{ name => "managePurchasesIsActive", },
{ name => "userIsVendor", },
],
related => [ ],
},