Changeset 7817:e526ad576440


Ignore:
Timestamp:
12/17/07 18:01:42 (6 years ago)
Author:
Yi Qiang <yqiang@…>
Branch:
default
Message:

Alphabetize usernames in error page and put them all on one line. The previous
version was incredibly hard to read.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sage/server/notebook/twist.py

    r6787 r7817  
    16681668        # If published pages were disabled, then this should be disabled too. 
    16691669        if self.problem == 'username': 
    1670             valid_login_names = "Valid login names: " + ', '.join(notebook.valid_login_names()) 
     1670            notebook.valid_login_names().sort() 
     1671            valid_login_names = "<strong>Valid login names:</strong><br />" + ', <br />'.join(notebook.valid_login_names()) 
    16711672        else: 
    16721673            valid_login_names = '' 
Note: See TracChangeset for help on using the changeset viewer.