Public bug reported:

Only some of the table templates are overridable through the meta
DataTableOptions class.  They would ALL be overrideable.

        self.template = getattr(options,
                                'template',
                                'horizon/common/_data_table.html')

The other templates, listed below, should also use the 'getattr' option.

        self.row_actions_dropdown_template = ('horizon/common/_data_table_'
                                              'row_actions_dropdown.html')
        self.row_actions_row_template = ('horizon/common/_data_table_'
                                         'row_actions_row.html')
        self.table_actions_template = \
            'horizon/common/_data_table_table_actions.html'

** Affects: horizon
     Importance: Medium
     Assignee: Ryan Peters (rjpeter2)
         Status: In Progress


** Tags: branding

** Changed in: horizon
     Assignee: (unassigned) => Ryan Peters (rjpeter2)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1616222

Title:
  All Table Templates should support template overrides

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  Only some of the table templates are overridable through the meta
  DataTableOptions class.  They would ALL be overrideable.

          self.template = getattr(options,
                                  'template',
                                  'horizon/common/_data_table.html')

  The other templates, listed below, should also use the 'getattr'
  option.

          self.row_actions_dropdown_template = ('horizon/common/_data_table_'
                                                'row_actions_dropdown.html')
          self.row_actions_row_template = ('horizon/common/_data_table_'
                                           'row_actions_row.html')
          self.table_actions_template = \
              'horizon/common/_data_table_table_actions.html'

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1616222/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to