示例#1
0
    def get_context_data(self, **kwargs):
        context = SpecificQuestionThreadView.get_context_data(self, **kwargs)

        context.update({
            'project': self.context_instance.master,
            'project_translation': self.context_instance,
            'active_tab': 'discussion',
        })

        return context
 def get_context_data(self, **kwargs):
     context = SpecificQuestionThreadView.get_context_data(self, **kwargs)
     
     context.update({
          'project': self.context_instance.master,
          'project_translation': self.context_instance,
          'active_tab': 'discussion',
     })
     
     return context
示例#3
0
 def get_context_data(self, **kwargs):
     context = SpecificQuestionThreadView.get_context_data(self, **kwargs)
     
     context.update(lookup_ml_membership(self.context_instance))
     
     context.update({
          'workgroup': self.context_instance,
          'active_tab': 'discussion',
     })
     
     return context
示例#4
0
    def get_context_data(self, **kwargs):
        context = SpecificQuestionThreadView.get_context_data(self, **kwargs)

        context.update(lookup_ml_membership(self.context_instance))

        context.update({
            'workgroup': self.context_instance,
            'active_tab': 'discussion',
        })

        return context
示例#5
0
    def get_context_data(self, **kwargs):
        context = SpecificQuestionThreadView.get_context_data(self, **kwargs)

        context.update(
            {
                "project": self.context_instance.master,
                "project_translation": self.context_instance,
                "active_tab": "discussion",
            }
        )

        return context