topic_html.naml

<override_macro name="topic_html" requires="servlet">
    <n.topic_min_html>
        <head>
            <n.topic_common_head/>
            <n.topic_head/>
            <n.topic_meta/>
            <n.increment_view_count/>
            <script type="text/javascript">
                $(document).ready(function() {

                subjects = $("h2.post-subject");
                
                $.each(subjects , function(i) {
                str = $(this).text();
                if(str.indexOf("Re:")>-1){
                str = str.replace(/Re: /gi, "");
                $(this).text("Re: "+str);
                }                
                });
               
                });
            </script>
        </head>
        <body>
            <n.page_node.topic_hardcoded_notices/>
            <n.newsflash/>
            <n.topic_header/>
            <n.topic_controls/>
            <n.topic_contents.view_contents.page_node.topic_rows/>
            <n.topic_footer/>
        </body>
    </n.topic_min_html>
</override_macro>