Add custom status rendering support to integrations
Review Request #8491 — Created Oct. 25, 2016 and submitted
Integrations can now customize how they render their entries in the
integration list view via therender_config_status
method. By
default, it just renders whether or not the integration is enabled
(which was the original behaviour).Additionally, the
aria-hidden
attribute was added to FontAwesome
icons to prevent them from being read by screen readers.
Tested with rb-integrations and Review Board.
-
Tool: PEP8 Style Checker Processed Files: djblets/integrations/templatetags/integrations.py djblets/integrations/integration.py djblets/integrations/views.py Ignored Files: djblets/integrations/templates/integrations/integration_list.html djblets/integrations/templatetags/__init__.py djblets/integrations/templates/integrations/integration_status.html Tool: Pyflakes Processed Files: djblets/integrations/templatetags/integrations.py djblets/integrations/integration.py djblets/integrations/views.py Ignored Files: djblets/integrations/templates/integrations/integration_list.html djblets/integrations/templatetags/__init__.py djblets/integrations/templates/integrations/integration_status.html
-
Tool: Pyflakes Processed Files: djblets/integrations/templatetags/integrations.py djblets/integrations/integration.py djblets/integrations/views.py Ignored Files: djblets/integrations/templates/integrations/integration_list.html djblets/integrations/templatetags/__init__.py djblets/integrations/templates/integrations/integration_status.html Tool: PEP8 Style Checker Processed Files: djblets/integrations/templatetags/integrations.py djblets/integrations/integration.py djblets/integrations/views.py Ignored Files: djblets/integrations/templates/integrations/integration_list.html djblets/integrations/templatetags/__init__.py djblets/integrations/templates/integrations/integration_status.html