예제 #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
예제 #2
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
예제 #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