xwiki/xwiki-platform — pull request #148 by gdelhumeau (2013-09-02 16:25:08+00:00)
Title: XWIKI-9414: Do not display "Subwikis directory" if there is no subwiki.

Trivial implementation.

It could be better to check if there is a workspace where the user has an access, but I guess it would have a higher cost and this template.vm is used everywhere.