Lack of interest Template Slot's Consistency

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Gio~Logist

Member
Some of the template slots aren't ideally consistent. Not a huge deal, just noticing. Example:

thread_create
HTML:
    <xen:if is="{$attachmentParams}">
        <dl class="ctrlUnit AttachedFilesUnit">
            <dt>{xen:phrase attached_files}:</dt>
            <dd><xen:include template="attachment_editor">
                <xen:set var="$attachments" value="{$attachmentParams.attachments}" />
            </xen:include></dd>
        </dl>
      
        <!-- slot: after_attachment -->
    </xen:if>
post_edit
HTML:
    <xen:if is="{$attachmentParams}">
        <dl class="ctrlUnit AttachedFilesUnit">
            <dt>{xen:phrase attached_files}:</dt>
            <dd><xen:include template="attachment_editor" /></dd>
        </dl>
    </xen:if>
Ideally, post_edit should be
HTML:
    <xen:if is="{$attachmentParams}">
        <dl class="ctrlUnit AttachedFilesUnit">
            <dt>{xen:phrase attached_files}:</dt>
            <dd><xen:include template="attachment_editor" /></dd>
        </dl>

        <!-- slot: after_attachment -->
    </xen:if>
 
Upvote 0
Top