Пример #1
0
    def get_context_data(self, answer_id, **kwargs):
        context = EditAnswerView.get_context_data(self, answer_id, **kwargs)

        context.update({
            'project_translation': self.project_translation,
            'active_tab': 'support',
        })

        return context
Пример #2
0
    def get_context_data(self, answer_id, **kwargs):
        context = EditAnswerView.get_context_data(self, answer_id, **kwargs)
        
        context.update({
         'project_translation': self.project_translation,
         'active_tab': 'support',
         })

        return context
Пример #3
0
    def get_context_data(self, answer_id, **kwargs):
        context = EditAnswerView.get_context_data(self, answer_id, **kwargs)
        
        context.update(lookup_ml_membership(self.workgroup))
        
        context.update({
            'workgroup': self.workgroup,
            'active_tab': 'workgroup',
         })

        return context
Пример #4
0
    def get_context_data(self, answer_id, **kwargs):
        context = EditAnswerView.get_context_data(self, answer_id, **kwargs)

        context.update(lookup_ml_membership(self.workgroup))

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

        return context
Пример #5
0
    def get_context_data(self, answer_id, **kwargs):
        context = EditAnswerView.get_context_data(self, answer_id, **kwargs)

        context.update({"project_translation": self.project_translation, "active_tab": "support"})

        return context