topic_count_column.naml

<override_macro name="topic_count_column" parameters="title,width">
    <n.table_column>
        <head>
            <td class="medium-border-color topic-count-column" align="center" style="[n.width_style.width/]">
                <n.default. to="[t]Topics[/t]"><n.title/></n.default.>
            </td>
        </head>
        <body>
            <td class="weak-color medium-border-color" align="center">
                <n.if.equal value1="[n.current_node.id/]" value2="[n.the_Shed_id/]">
                    <then>1</then>
                    <else><n.current_node.topic_count/></else>
                </n.if.equal>
            </td>
        </body>
    </n.table_column>
</override_macro>