WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Unset banner leaves empty container #19

@tlotze

Description

@tlotze

In banner.pt, a tal:condition checks whether the context object has a banner and if not, omit most of the HTML. However, the #portal-banner container div is not subject to this check, which makes for a large block with a background but no content. If there is no reason for displaying a hint to an empty banner, the whole template should be omitted if there is no banner available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions