holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r12280: LJSUP-12949: Change username and userhea...

Committer: akanashin
LJSUP-12949: Change username and userhead in notifpromo block
U   trunk/cgi-bin/LJ/Hooks/ESN.pm
U   trunk/htdocs/shop/notificationpromo.bml
Modified: trunk/cgi-bin/LJ/Hooks/ESN.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/ESN.pm	2012-07-12 14:47:50 UTC (rev 12279)
+++ trunk/cgi-bin/LJ/Hooks/ESN.pm	2012-07-13 05:47:55 UTC (rev 12280)
@@ -107,7 +107,7 @@
 
     $params->{country_style_ua} = $active_region eq 'ua';
     $params->{imgprefix} = $LJ::IMGPREFIX;
-    $params->{ljuser} = [LJ::ljuser($u, {raw => 1, inline_css => 1})]; 
+    $params->{ljuser} = [LJ::ljuser($promo->promoter, {raw => 1, inline_css => 1})]; 
 
     my $tmpl_file = $type eq 'html' ? 'NotificationPromoHTML.tmpl' : 'NotificationPromoPlainText.tmpl';
     my $tmpl = LJ::HTML::Template->new({use_expr => 1}, filename => "$ENV{LJHOME}/templates/Shop/$tmpl_file");

Modified: trunk/htdocs/shop/notificationpromo.bml
===================================================================
--- trunk/htdocs/shop/notificationpromo.bml	2012-07-12 14:47:50 UTC (rev 12279)
+++ trunk/htdocs/shop/notificationpromo.bml	2012-07-13 05:47:55 UTC (rev 12280)
@@ -2,6 +2,7 @@
 
 use strict;
 use warnings;
+use LJ::Pay::Promotion::Notifications;
 
 my $remote = LJ::get_remote();
 

Tags: akanashin, bml, holyandrew, ljcom, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments