Only show avatar settings form when avatars are enabled site-wide

Review Request #8221 — Created June 6, 2016 and submitted

Information

Review Board
release-3.0.x

Reviewers

The avatar settings form now only appears in the profile page when the
"Enable avatar services" settings is set in the admin panel. Otherwise,
it will not be available.

Enabled and disabled avatars. The form was correctly shown or not
shown in each case.

Description From Last Updated

Can we add an __all__ to this file so we don't end up exporting the initializing handler?

daviddavid
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/avatars/__init__.py
        reviewboard/admin/forms.py
        reviewboard/accounts/pages.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/avatars/__init__.py
        reviewboard/admin/forms.py
        reviewboard/accounts/pages.py
    
    
  2. 
      
david
  1. 
      
  2. reviewboard/avatars/__init__.py (Diff revision 1)
     
     

    Can we add an __all__ to this file so we don't end up exporting the initializing handler?

  3. 
      
brennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (c5f888b)
Loading...