Changeset 5988 for main/waeup.sirp/trunk/src/waeup/sirp/browser
- Timestamp:
- 27 Apr 2011, 07:43:49 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/browser
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/breadcrumbs.py
r5864 r5988 121 121 @property 122 122 def title(self): 123 prefix = self.context.title_prefix 124 prefix = prefix[0].upper() + prefix[1:] 125 return '%s of %s' % (prefix, self.context.title) 123 return self.context.longtitle() 126 124 127 125 class DepartmentBreadcrumb(FacultyBreadcrumb): -
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r5987 r5988 41 41 IWAeUPXMLImporter, IWAeUPXMLExporter, IBatchProcessor) 42 42 from waeup.sirp.university.catalog import search 43 from waeup.sirp.utils.helpers import getName44 43 from waeup.sirp.widgets.interfaces import ITableProvider 45 44 … … 905 904 grok.name('index') 906 905 pnav = 1 906 907 907 @property 908 908 def title(self): 909 return "%s (%s)" % (getName(self.context), self.context.code)909 return self.context.longtitle() 910 910 911 911 #def update(self, code=None, edit=None, delete=None): … … 995 995 grok.name('index') 996 996 pnav = 1 997 #title = 'xxx' 997 998 998 999 @property 999 1000 def title(self): 1000 return "%s (%s)" % (getName(self.context), self.context.code) 1001 #import pdb; pdb.set_trace() 1002 return self.context.longtitle() 1001 1003 1002 1004 def update(self): -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultycontainerpage.pt
r5942 r5988 15 15 <tr tal:repeat="value context/values"> 16 16 <td> <a tal:attributes="href value/__name__"> <span tal:content="value/code">Name</span></a></td> 17 <td tal:content="value/ title">Title</td>17 <td tal:content="value/longtitle">Title</td> 18 18 </tr> 19 19 </tbody> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultypage.pt
r5942 r5988 15 15 <tr tal:repeat="value context/values"> 16 16 <td> <a tal:attributes="href value/__name__"> <span tal:content="value/code">Name</span></a></td> 17 <td tal:content="value/ title">Title</td>17 <td tal:content="value/longtitle">Title</td> 18 18 <td class="text-right"> 19 19 </td>
Note: See TracChangeset for help on using the changeset viewer.