コード例 #1
0
ファイル: views.py プロジェクト: bkolobara/indico
 def _getHeadContent(self):
     head_content = WPDecorated._getHeadContent(self)
     if self.atom_feed_url:
         title = self.atom_feed_title or _("Indico Atom feed")
         head_content += ('<link rel="alternate" type="application/atom+xml" title="{}" href="{}">'
                          .format(escape(title), self.atom_feed_url))
     if self._mathjax:
         head_content += MathjaxMixin._getHeadContent(self)
     return head_content
コード例 #2
0
ファイル: views.py プロジェクト: imfht/flaskapps
 def _get_head_content(self):
     head_content = WPDecorated._get_head_content(self)
     if self.atom_feed_url:
         title = self.atom_feed_title or _("Indico Atom feed")
         head_content += ('<link rel="alternate" type="application/atom+xml" title="{}" href="{}">'
                          .format(escape(title), self.atom_feed_url))
     if self._mathjax:
         head_content += MathjaxMixin._get_head_content(self)
     return head_content
コード例 #3
0
ファイル: views.py プロジェクト: nop33/indico
    def _getHeadContent(self):
        path = config.BASE_URL
        try:
            timestamp = os.stat(__file__).st_mtime
        except OSError:
            timestamp = 0
        css = '<link rel="stylesheet" type="text/css" href="{}/css/Conf_Basic.css?{}">'.format(path, timestamp)

        return '\n'.join([
            css,
            MathjaxMixin._getHeadContent(self),
            WPEventBase._getHeadContent(self)
        ])
コード例 #4
0
    def _getHeadContent(self):
        path = config.BASE_URL
        try:
            timestamp = os.stat(__file__).st_mtime
        except OSError:
            timestamp = 0
        css = '<link rel="stylesheet" type="text/css" href="{}/css/Conf_Basic.css?{}">'.format(path, timestamp)

        return '\n'.join([
            css,
            WConfMetadata(self._conf).getHTML(),
            MathjaxMixin._getHeadContent(self)
        ])
コード例 #5
0
ファイル: views.py プロジェクト: koufounak/indico
 def _getHeadContent(self):
     return '\n'.join([
         MathjaxMixin._getHeadContent(self),
         WPEventBase._getHeadContent(self)
     ])
コード例 #6
0
ファイル: views.py プロジェクト: koufounak/indico
 def _getHeadContent(self):
     return MathjaxMixin._getHeadContent(
         self) + WPEventBase._getHeadContent(self)
コード例 #7
0
 def _get_head_content(self):
     return MathjaxMixin._get_head_content(self) + WPEventBase._get_head_content(self)
コード例 #8
0
ファイル: views.py プロジェクト: bkolobara/indico
 def _getHeadContent(self):
     return '\n'.join([
         MathjaxMixin._getHeadContent(self),
         WPEventBase._getHeadContent(self)
     ])
コード例 #9
0
ファイル: views.py プロジェクト: bkolobara/indico
 def _getHeadContent(self):
     return MathjaxMixin._getHeadContent(self) + WPEventBase._getHeadContent(self)
コード例 #10
0
 def _get_head_content(self):
     return WPEventManagement._get_head_content(
         self) + MathjaxMixin._get_head_content(self)
コード例 #11
0
ファイル: views.py プロジェクト: indico/indico
 def _get_head_content(self):
     return WPEventManagement._get_head_content(self) + MathjaxMixin._get_head_content(self)
コード例 #12
0
 def _getHeadContent(self):
     return WPConferenceDefaultDisplayBase._getHeadContent(
         self) + MathjaxMixin._getHeadContent(self)
コード例 #13
0
ファイル: views.py プロジェクト: vireshbackup/indico
 def _getHeadContent(self):
     return WConfMetadata(self._conf).getHTML() + MathjaxMixin._getHeadContent(self)
コード例 #14
0
ファイル: views.py プロジェクト: indico/indico
 def _get_head_content(self):
     return MathjaxMixin._get_head_content(self) + WPEventBase._get_head_content(self)
コード例 #15
0
 def _getHeadContent(self):
     return WPConferenceModifBase._getHeadContent(
         self) + MathjaxMixin._getHeadContent(self)