| ... | in ui_components.naml |
|
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
<macro name="add_vertical_tab" dot_parameter="text" parameters="url,selected,details,icon,style">
<n.if.is_vertical_tab>
<then>
<n.if.selected>
<then><li class="selected shaded-bg-color" style="[n.style/]"><n.hide_null.icon/> <n.truncate. size="25"><n.text/></n.truncate.></li></then>
<else><li style="[n.style/]"><n.hide_null.icon/> <a href="[n.url/]"><n.truncate. size="25"><n.text/></n.truncate.></a></li></else>
</n.if.selected>
</then>
<else>
<n.if.selected>
<then.details/>
</n.if.selected>
</else>
</n.if.is_vertical_tab>
</macro>
|
| Free forum by Nabble | Edit this page |