コード例 #1
0
 def setUpFields(self):
     """See `LaunchpadFormView`."""
     LaunchpadFormView.setUpFields(self)
     self.form_fields += self.createRequireVirtualized()
     self.form_fields += self.createEnabledRestrictedProcessors(
         u"The restricted architectures on which the distribution's main " "archive can build."
     )
コード例 #2
0
 def setUpFields(self):
     """See `LaunchpadFormView`."""
     LaunchpadFormView.setUpFields(self)
     self.form_fields += self.createRequireVirtualized()
     self.form_fields += self.createEnabledRestrictedProcessors(
         u"The restricted architectures on which the distribution's main "
         "archive can build.")
コード例 #3
0
 def setUpFields(self):
     """See `LaunchpadFormView`."""
     LaunchpadFormView.setUpFields(self)
     self.form_fields += self.createRequireVirtualized()
     self.form_fields += self.createEnabledProcessors(
         getUtility(IProcessorSet).getAll(),
         u"The architectures on which the distribution's main archive can "
         u"build.")
コード例 #4
0
    def setUpFields(self):
        """See `LaunchpadFormView`."""
        LaunchpadFormView.setUpFields(self)
        # setup filter fields.
        target_field = self.createFilterTargetField()
        if target_field is not None:
            self.form_fields = (target_field + self.form_fields)

        self.form_fields = (self.createFilterStatusField() +
                            self.createFilterFileExtensionField() +
                            self.form_fields)
コード例 #5
0
 def setUpFields(self):
     """See LaunchpadFormView."""
     LaunchpadFormView.setUpFields(self)
     team_subscriptions = self._createTeamSubscriptionsField()
     if team_subscriptions:
         self.form_fields += form.Fields(team_subscriptions)
     if self.userIsDriver():
         add_other = form.Fields(self._createAddOtherSubscriptionsField())
         self.form_fields += add_other
         remove_other = self._createRemoveOtherSubscriptionsField()
         if remove_other:
             self.form_fields += form.Fields(remove_other)
コード例 #6
0
 def setUpFields(self):
     """See LaunchpadFormView."""
     LaunchpadFormView.setUpFields(self)
     team_subscriptions = self._createTeamSubscriptionsField()
     if team_subscriptions:
         self.form_fields += form.Fields(team_subscriptions)
     if self.userIsDriver():
         add_other = form.Fields(self._createAddOtherSubscriptionsField())
         self.form_fields += add_other
         remove_other = self._createRemoveOtherSubscriptionsField()
         if remove_other:
             self.form_fields += form.Fields(remove_other)
コード例 #7
0
    def setUpFields(self):
        """See `LaunchpadFormView`."""
        LaunchpadFormView.setUpFields(self)
        # setup filter fields.
        target_field = self.createFilterTargetField()
        if target_field is not None:
            self.form_fields = (target_field + self.form_fields)

        self.form_fields = (
            self.createFilterStatusField() +
            self.createFilterFileExtensionField() +
            self.form_fields)
コード例 #8
0
 def setUpFields(self):
     """See `LaunchpadFormView`."""
     LaunchpadFormView.setUpFields(self)
     if self.show_language_control:
         self.form_fields = self.createLanguageField() + self.form_fields
コード例 #9
0
 def setUpFields(self):
     """See `LaunchpadFormView`."""
     LaunchpadFormView.setUpFields(self)
     if self.show_language_control:
         self.form_fields = self.createLanguageField() + self.form_fields