Changeset 8096


Ignore:
Timestamp:
10 Apr 2012, 19:17:13 (12 years ago)
Author:
Henrik Bettermann
Message:

Insert <br> tag in labels on application forms.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r8078 r8096  
    408408    def label(self):
    409409        container_title = self.context.__parent__.title
    410         return _('${a} Application Record ${b}', mapping = {
     410        return _('${a} <br /> Application Record ${b}', mapping = {
    411411            'a':container_title, 'b':self.context.application_number})
    412412
     
    651651    def label(self):
    652652        container_title = self.context.__parent__.title
    653         return _('${a} Application Form ${b}', mapping = {
     653        return _('${a} <br /> Application Form ${b}', mapping = {
    654654            'a':container_title, 'b':self.context.application_number})
    655655
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/staffsitelayout.pt

    r8065 r8096  
    108108        </div>
    109109        <h1 tal:condition="view/label|nothing"
    110             tal:content="view/label">LABEL</h1>
     110            tal:content="structure view/label">LABEL</h1>
    111111        <div tal:content="structure view/content"> THE CONTENT
    112112        </div>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/studentsitelayout.pt

    r8065 r8096  
    9393        </div>
    9494        <h1 tal:condition="view/label|nothing"
    95             tal:content="view/label">Label</h1>
     95            tal:content="structure view/label">Label</h1>
    9696        <div tal:content="structure view/content">
    9797          THE CONTENT
Note: See TracChangeset for help on using the changeset viewer.