Login  Register

Re: Put date and time on Photo Gallery posts

Posted by Pedro on Nov 28, 2012; 12:36pm
URL: https://support.nabble.com/Put-date-and-time-on-Photo-Gallery-posts-tp7582058p7582091.html

Please, try this code:
 <override_macro name="cell_details">
    <div class="weak-color" style="font-variant: small-caps;">
        <t>by <t.author.owner.name truncate="20"/></t>
    </div>
 
    <div class="weak-color" style="width:100%;font-size:80%;margin:.3em 0;font-variant: small-caps;">
        <n.if.not.is_locked_topic>
            <then>
                <n.if.has_replies>
                    <then.comments_link/>
                    <else>
                        0 <t>comments</t>
                    </else>
                </n.if.has_replies>
            </then>
        </n.if.not.is_locked_topic>
        &ndash;
        <n.views show_text="true"/>
        <br/>
        <n.when_created.long_format/>
        <n.if.is_in_subapp>
            <then>
                - <t>in <t.location.italic.subapp_link_on_hover/></t>
            </then>
        </n.if.is_in_subapp>
    </div>
</override_macro> 
Greg, you can break line in HTML using the tag:
<br/>
My test forum.