
from __future__ import unicode_literals

from indico.modules.events.management.views import WPEventManagement


class WPEventLogs(WPEventManagement):
    bundles = ('react.js', 'module_events.logs.js', 'module_events.logs.css')
    template_prefix = 'events/logs/'
    sidemenu_option = 'logs'


from __future__ import unicode_literals

from indico.modules.events.management.views import WPEventManagement


class WPEventLogs(WPEventManagement):
    bundles = ('react.js', 'semantic-ui.js', 'module_events.logs.js', 'module_events.logs.css')
    template_prefix = 'events/logs/'
    sidemenu_option = 'logs'

Include SUIR JS on logs page
Include SUIR JS on logs page

This is not pretty, as we don't even use SUIR there, but
indico/utils/redux imports a module that imports SUIR and thus breaks
the logs page if SUIR is not included.

  
  from __future__ import unicode_literals
  
  from indico.modules.events.management.views import WPEventManagement
  
  
  class WPEventLogs(WPEventManagement):
-     bundles = ('react.js', 'module_events.logs.js', 'module_events.logs.css')
+     bundles = ('react.js', 'semantic-ui.js', 'module_events.logs.js', 'module_events.logs.css')
      template_prefix = 'events/logs/'
      sidemenu_option = 'logs'
  
Include SUIR JS on logs page
## Code Before:

from __future__ import unicode_literals

from indico.modules.events.management.views import WPEventManagement


class WPEventLogs(WPEventManagement):
    bundles = ('react.js', 'module_events.logs.js', 'module_events.logs.css')
    template_prefix = 'events/logs/'
    sidemenu_option = 'logs'

## Instruction:
Include SUIR JS on logs page
## Code After:

from __future__ import unicode_literals

from indico.modules.events.management.views import WPEventManagement


class WPEventLogs(WPEventManagement):
    bundles = ('react.js', 'semantic-ui.js', 'module_events.logs.js', 'module_events.logs.css')
    template_prefix = 'events/logs/'
    sidemenu_option = 'logs'
