Ignore:
Timestamp:
8 Apr 2012, 09:53:56 (13 years ago)
Author:
Henrik Bettermann
Message:

Do not display language selector if no content is provided.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/staffsitelayout.pt

    r7828 r8063  
    4444            </li>
    4545          </ul>
    46           <span class="language">
     46          <span class="language"
     47                tal:define="langs provider:languages"
     48                tal:condition="langs">
    4749            <tal:languages
    48                   tal:content="structure provider:languages" /> |
     50                  tal:content="structure langs" /> |
    4951          </span>
    5052        </div>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/studentsitelayout.pt

    r7828 r8063  
    4949            </li>
    5050          </ul>
    51           <span class="language">
     51          <span class="language"
     52                tal:define="langs provider:languages"
     53                tal:condition="langs">
    5254            <tal:languages
    53                   tal:content="structure provider:languages" /> |
     55                  tal:content="structure langs" /> |
    5456          </span>
    5557        </div>
Note: See TracChangeset for help on using the changeset viewer.