web/webconfig.py
branchtls-sprint
changeset 890 3530baff9120
parent 823 cb8ccbef8fa5
child 893 1f9308b253ce
equal deleted inserted replaced
889:609edca88406 890:3530baff9120
   197             return None
   197             return None
   198         if cubeeid:
   198         if cubeeid:
   199             return 'http://intranet.logilab.fr/jpl/view?__linkto=concerns:%s:subject&etype=Ticket&type=bug&vid=creation' % cubeeid
   199             return 'http://intranet.logilab.fr/jpl/view?__linkto=concerns:%s:subject&etype=Ticket&type=bug&vid=creation' % cubeeid
   200         return None
   200         return None
   201 
   201 
       
   202     def fckeditor_installed(self):
       
   203         return exists(self.ext_resources['FCKEDITOR_PATH'])
       
   204     
       
   205     def eproperty_definitions(self):
       
   206         for key, pdef in super(WebConfiguration, self).eproperty_definitions(self):
       
   207             if key == 'ui.fckeditor' and not self.fckeditor_installed():
       
   208                 continue
       
   209             yield key, pdef
       
   210                 
   202     # method used to connect to the repository: 'inmemory' / 'pyro'
   211     # method used to connect to the repository: 'inmemory' / 'pyro'
   203     # Pyro repository by default
   212     # Pyro repository by default
   204     repo_method = 'pyro'
   213     repo_method = 'pyro'
   205     
   214     
   206     # don't use @cached: we want to be able to disable it while this must still
   215     # don't use @cached: we want to be able to disable it while this must still