X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-part_referral.html;h=4a9cafd01c8063da8f2a068be86fac2eff1beb3b;hb=9cb0274535a95a45a8f5796c8edafefb074f57c8;hp=62795e9b21b9785f7d78e52c777016f082b0a169;hpb=c648976f0b7975f2328ebd7ba8c711fad0ca4195;p=freeside.git diff --git a/httemplate/elements/tr-select-part_referral.html b/httemplate/elements/tr-select-part_referral.html index 62795e9b2..4a9cafd01 100644 --- a/httemplate/elements/tr-select-part_referral.html +++ b/httemplate/elements/tr-select-part_referral.html @@ -1,23 +1,27 @@ % if ( scalar( @{$opt{'part_referrals'}} ) == 0 ) { -
You have not created any advertising sources. You must create at least one advertising source before adding a customer. Go to advertising source listing and create one or more advertising sources. +
+ <% mt('At least one advertising source must be created prior to adding a customer, but none have been created.') |h %> + +% #hack +% my $createlink = qq!!; +% my $createlabel = emt("To create one, see [_1]advertising source listing","XXXLINKXXX").''; +% $createlabel =~ s/XXXLINKXXX/$createlink/; + <% $createlabel %> + + % } elsif ( scalar( @{$opt{'part_referrals'}} ) == 1 ) { - +