[ljcom] r12983: LJSUP-14436: There is no a link "Company...
Committer: nnikulochkina
LJSUP-14436: There is no a link "Company's information and requisites"U trunk/cgi-bin/LJ/Widget/Shop/LeftMenu.pm U trunk/templates/Shop/LeftMenu.tmpl
Modified: trunk/cgi-bin/LJ/Widget/Shop/LeftMenu.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Shop/LeftMenu.pm 2012-12-03 14:50:37 UTC (rev 12982)
+++ trunk/cgi-bin/LJ/Widget/Shop/LeftMenu.pm 2012-12-03 14:53:20 UTC (rev 12983)
@@ -249,19 +249,11 @@
# Show subcategories only if it is not empty
}
- push @$top_level, {
- name => '',
- level1 => [{
- name => BML::ml('.storefront.sup_about'),
- url => $LJ::HELPURL{'sup_about'},
- }],
- is_expanded => 1,
- };
-
my $filename = "$ENV{'LJHOME'}/templates/Shop/LeftMenu.tmpl";
my $left_menu = LJ::HTML::Template->new( {'use_expr' => 1}, filename => $filename);
$left_menu->param (
menu => $top_level,
+ sup_about => $LJ::HELPURL{'sup_about'},
);
BML::set_language_scope($lang_scope);
Modified: trunk/templates/Shop/LeftMenu.tmpl
===================================================================
--- trunk/templates/Shop/LeftMenu.tmpl 2012-12-03 14:50:37 UTC (rev 12982)
+++ trunk/templates/Shop/LeftMenu.tmpl 2012-12-03 14:53:20 UTC (rev 12983)
@@ -8,5 +8,9 @@
</ul>
</li>
</TMPL_LOOP>
+
+ <li class="m-section-item">
+ <ul class="m-section-list"><li><a href="<TMPL_VAR sup_about>"><TMPL_VAR EXPR="ml('.storefront.sup_about')"></a></li></ul>
+ </li>
</ul>
