Created
October 14, 2015 19:26
-
-
Save xymor/3bc1bb49812bbdab9529 to your computer and use it in GitHub Desktop.
category.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<kanlo:categoryMenu k:product="${product}" k:category="${category}"> | |
<li class="k-nv-it ${category.name}"> | |
<a class="k-nav-sdLnk subhead ${category.name}" href="${categoryLink}">${category.name}</a> | |
<g:if test="${category.children}"> | |
<ul class="k-nav-subDpt"> | |
<g:each in="${category.children}" var="children"> | |
<li class="k-nav-sdLt ${children.name}"> | |
<a class="k-nav-sdSbLnk ${children.name}" href="${createProductCategoryLink(category: children)}">- ${children.name}</a> | |
</li> | |
</g:each> | |
</ul> | |
</g:if> | |
</li> | |
</kanlo:categoryMenu> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment