Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[livejournal] r17724: LJSUP-7380: links in sidebar must be not...

Committer: mchervonniy
LJSUP-7380: links in sidebar must be not clickable without vertical
U   trunk/templates/Browse/menu.tmpl
Modified: trunk/templates/Browse/menu.tmpl
===================================================================
--- trunk/templates/Browse/menu.tmpl	2010-11-18 16:45:41 UTC (rev 17723)
+++ trunk/templates/Browse/menu.tmpl	2010-11-19 05:59:15 UTC (rev 17724)
@@ -1,6 +1,10 @@
 <ul class="m-section">
 	<TMPL_LOOP categories>
+		<tmpl_if is_vertical_view>
 		<li class="m-section-item <TMPL_IF expr="is_current || is_expanded"> m-section-item-open</TMPL_IF>"><a href="<tmpl_var url>"><i class="m-switch"><i class="t"></i><i class="b"></i></i><TMPL_VAR name></a>
+		<tmpl_else>
+		<li class="m-section-item <TMPL_IF expr="is_current || is_expanded"> m-section-item-open</TMPL_IF>"><span><i class="m-switch"><i class="t"></i><i class="b"></i></i><TMPL_VAR name></span>
+		</tmpl_if>
 			<ul class="m-section-list">
 				<TMPL_LOOP level1>
 					<li<TMPL_IF is_current> class="m-section-item-open"</TMPL_IF>>

Tags: fiskus_boulder, livejournal, tmpl
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