Changeset 544
- Timestamp:
- 08/07/09 13:14:32 (3 years ago)
- Location:
- enpraxis.educommons/trunk/enpraxis/educommons
- Files:
-
- 2 modified
-
browser/__init__.py (modified) (4 diffs)
-
overrides.zcml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
enpraxis.educommons/trunk/enpraxis/educommons/browser/__init__.py
r506 r544 308 308 return copyright, holder, license_name, license_url, license_button 309 309 310 311 312 310 def getCitationInfo(self): 313 311 """ Gets the citation information """ … … 327 325 if parent.instructorAsCreator == True: 328 326 instr_name = parent.instructorName 329 names = [instr_name.strip()] 327 if instr_name != u'': 328 names = [instr_name.strip()] 330 329 names += [name.strip() for name in parent.Creators()] 331 330 if len(self.context.Creators()) > 1: … … 334 333 if self.context.instructorAsCreator == True: 335 334 instr_name = self.context.instructorName 336 names = [instr_name.strip()] 335 if instr_name != u'': 336 names = [instr_name.strip()] 337 337 names += [name.strip() for name in self.context.Creators()] 338 338 else: … … 344 344 345 345 crs = cr.split(' ') 346 347 346 348 347 for part in crs[:-1]: -
enpraxis.educommons/trunk/enpraxis/educommons/overrides.zcml
r534 r544 24 24 template="browser/citation_view.pt" 25 25 permission="zope2.View" 26 layer="collective.contentlicensing.interfaces.IContentLicensingLayer" 26 27 /> 27 28 … … 32 33 template="browser/copyright_byline.pt" 33 34 permission="zope2.View" 35 layer="collective.contentlicensing.interfaces.IContentLicensingLayer" 34 36 /> 35 37
