コード例 #1
0
 def render(self, context):
     agent = context.get('agent', None)
     output = self.nodelist.render(context)
     output = utils.convert_emoji(
         output, agent, self.removevar, lambda src, alt: self.image_tag %
         (src, alt))
     return output
コード例 #2
0
 def render(self, context):
     agent = context.get('agent', None)
     output = utils.convert_emoji(
         utils.uni_name2docomo(self.code),
         agent,
         image_tag_callback=lambda src, alt: self.image_tag % src)
     return output
コード例 #3
0
ファイル: mobile.py プロジェクト: tokibito/django-bpmobile
 def render(self, context):
     agent = context.get('agent', None)
     output = self.nodelist.render(context)
     output = utils.convert_emoji(output, agent, self.removevar, lambda src, alt: self.image_tag % (src, alt))
     return output
コード例 #4
0
ファイル: mobile.py プロジェクト: tokibito/django-bpmobile
 def render(self, context):
     agent = context.get('agent', None)
     output = utils.convert_emoji(utils.uni_name2docomo(self.code), agent, image_tag_callback=lambda src, alt: self.image_tag % src)
     return output