Changeset 5993 for main/waeup.sirp/trunk


Ignore:
Timestamp:
28 Apr 2011, 05:45:12 (14 years ago)
Author:
Henrik Bettermann
Message:

Use facultypage.pt for both FacultyPage? and FacultyContainerPage?.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/browser
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py

    r5988 r5993  
    845845    grok.name('index')
    846846    title = 'Academics'
    847     pnav = 1
     847    label = 'Faculties'
     848    pnav = 1
     849    grok.template('facultypage')
    848850
    849851    #def update(self, code=None, edit=None, delete=None):
     
    904906    grok.name('index')
    905907    pnav = 1
     908    label = 'Departments'
    906909
    907910    @property
     
    995998    grok.name('index')
    996999    pnav = 1
    997     #title = 'xxx'
    9981000
    9991001    @property
     
    12081210            mandatory = certcourse.core_or_elective
    12091211            title = course.title
     1212            #import pdb; pdb.set_trace()
    12101213            courseref_url = self.url(self.context[key])
    12111214            course_url = self.url(course)
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultypage.pt

    r5988 r5993  
    1 <h2>Departments</h2>
     1<h2 tal:content="view/label">TITLE</h2>
    22
    33<div tal:condition="python: not len(context.keys())">
    4 There are no departments registered yet.
     4There no subobjects registered yet.
    55</div>
    66
     
    1616      <td> <a tal:attributes="href value/__name__"> <span tal:content="value/code">Name</span></a></td>
    1717      <td tal:content="value/longtitle">Title</td>
    18       <td class="text-right">
    19       </td>
    2018    </tr>
    2119  </tbody>
Note: See TracChangeset for help on using the changeset viewer.