pin_topic_link

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "pin_topic_link".
... in topic.naml
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
<macro name="pin_topic_link" requires="node" dot_parameter="text" parameters="title, class">
    <n.put_in_head.>
        <script type="text/javascript">
            Nabble.pinTopic = function(id) {
                var call = '/' + 'template/NamlServlet.jtp?macro=pin_topic&node=' + id;
                $.getScript(call, function() {
                    $('#pin-icon').show();
                    NabbleDropdown.show('unpinTopic');
                    NabbleDropdown.hide('pinTopic');
                    alert('<t>This topic has been pinned.</t>');
                });
            };
        </script>
    </n.put_in_head.>
    <a href="javascript: void Nabble.pinTopic([n.id/])" class="[n.class/]" rel="nofollow" title="[n.title/]"><n.default. to="[t]Pin topic[/t]"><n.text/></n.default.></a>
</macro>