
from __future__ import unicode_literals

from MaKaC.webinterface.pages.admins import WPAdminsBase
from MaKaC.webinterface.pages.base import WPJinjaMixin
from MaKaC.webinterface.pages.conferences import WPConferenceDefaultDisplayBase


class WPReferenceTypes(WPJinjaMixin, WPAdminsBase):
    template_prefix = 'events/'


class WPEventDisplay(WPJinjaMixin, WPConferenceDefaultDisplayBase):
    template_prefix = 'events/'

    def _getBody(self, params):
        return WPJinjaMixin._getPageContent(self, params)

    def getCSSFiles(self):
        return WPConferenceDefaultDisplayBase.getCSSFiles(self) + self._asset_env['event_display_sass'].urls()


from __future__ import unicode_literals

from MaKaC.webinterface.pages.admins import WPAdminsBase
from MaKaC.webinterface.pages.base import WPJinjaMixin
from MaKaC.webinterface.pages.conferences import WPConferenceDefaultDisplayBase


class WPReferenceTypes(WPJinjaMixin, WPAdminsBase):
    template_prefix = 'events/'
    sidemenu_option = 'reference_types'


class WPEventDisplay(WPJinjaMixin, WPConferenceDefaultDisplayBase):
    template_prefix = 'events/'

    def _getBody(self, params):
        return WPJinjaMixin._getPageContent(self, params)

    def getCSSFiles(self):
        return WPConferenceDefaultDisplayBase.getCSSFiles(self) + self._asset_env['event_display_sass'].urls()

Fix highlighting of "External ID Types" menu entry
Fix highlighting of "External ID Types" menu entry

  
  from __future__ import unicode_literals
  
  from MaKaC.webinterface.pages.admins import WPAdminsBase
  from MaKaC.webinterface.pages.base import WPJinjaMixin
  from MaKaC.webinterface.pages.conferences import WPConferenceDefaultDisplayBase
  
  
  class WPReferenceTypes(WPJinjaMixin, WPAdminsBase):
      template_prefix = 'events/'
+     sidemenu_option = 'reference_types'
  
  
  class WPEventDisplay(WPJinjaMixin, WPConferenceDefaultDisplayBase):
      template_prefix = 'events/'
  
      def _getBody(self, params):
          return WPJinjaMixin._getPageContent(self, params)
  
      def getCSSFiles(self):
          return WPConferenceDefaultDisplayBase.getCSSFiles(self) + self._asset_env['event_display_sass'].urls()
  
Fix highlighting of "External ID Types" menu entry
## Code Before:

from __future__ import unicode_literals

from MaKaC.webinterface.pages.admins import WPAdminsBase
from MaKaC.webinterface.pages.base import WPJinjaMixin
from MaKaC.webinterface.pages.conferences import WPConferenceDefaultDisplayBase


class WPReferenceTypes(WPJinjaMixin, WPAdminsBase):
    template_prefix = 'events/'


class WPEventDisplay(WPJinjaMixin, WPConferenceDefaultDisplayBase):
    template_prefix = 'events/'

    def _getBody(self, params):
        return WPJinjaMixin._getPageContent(self, params)

    def getCSSFiles(self):
        return WPConferenceDefaultDisplayBase.getCSSFiles(self) + self._asset_env['event_display_sass'].urls()

## Instruction:
Fix highlighting of "External ID Types" menu entry
## Code After:

from __future__ import unicode_literals

from MaKaC.webinterface.pages.admins import WPAdminsBase
from MaKaC.webinterface.pages.base import WPJinjaMixin
from MaKaC.webinterface.pages.conferences import WPConferenceDefaultDisplayBase


class WPReferenceTypes(WPJinjaMixin, WPAdminsBase):
    template_prefix = 'events/'
    sidemenu_option = 'reference_types'


class WPEventDisplay(WPJinjaMixin, WPConferenceDefaultDisplayBase):
    template_prefix = 'events/'

    def _getBody(self, params):
        return WPJinjaMixin._getPageContent(self, params)

    def getCSSFiles(self):
        return WPConferenceDefaultDisplayBase.getCSSFiles(self) + self._asset_env['event_display_sass'].urls()
