Login  Register

Add locked topic icons?

Posted by GD on Apr 13, 2013; 5:21pm
URL: https://support.nabble.com/Add-locked-topic-icons-tp7584051.html

Hello Nabble! Would be very happy if any of you could help me with the topics icon. I found the right _micor ''pin_column''
And i did this after some investigation of it.

<override_macro name="pin_column">    
    <n.table_column>        
        <head>            
            <td class="[n.column_default_border/] pin-column nowrap" style="width:30px"></td>        
        </head>        
        
        <body>            
            <n.current_node.>                
                <td class="[n.column_default_border/]" style="padding-left:.2em">                    
                    <n.if.is_app>                        
                        <then>                            
                            <n.if.is_pinned_in_loop>                                
                                <then><img src="http://support.nabble.com/file/t395796/pinforum.png" 
width="40" height="40" title="[t]Pinned sub-forum[/t]" alt="[t]Pinned sub-forum[/t]"/>
                                </then>                                
                                <else><img src="http://support.nabble.com/file/t395796/forum.png" 
width="40" height="40" title="[t]Floating sub-forum[/t]" alt="[t]Floating sub-forum[/t]"/>
                                </else>                            
                            </n.if.is_pinned_in_loop>                        
                        </then>                        
                        <else>                            
                            <n.if.is_pinned_in_loop>                                
                                <then><img src="http://support.nabble.com/file/t395796/pintopic.png" 
width="40" height="40" alt="pin"/>
                                </then>                                
                                <else><img src="http://support.nabble.com/file/t395796/topic.png" width="40" 
height="40" alt="pin"/>
                                </else>                            
                            </n.if.is_pinned_in_loop>                        
                        </else>                    
                    </n.if.is_app>                
                </td>            
            </n.current_node.>        
        </body>    
    </n.table_column>
</override_macro>

I want to add an icon for locked topics to. Is that possible?