1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/11744e84d4d2/ Changeset: 11744e84d4d2 User: martenson Date: 2014-02-17 19:58:55 Summary: admin/users: show time created and activated status columns to help admins to manage users Affected #: 1 file diff -r f68bd3660813e4d5024a71d84a8a8c0a24ae892a -r 11744e84d4d2389a28ff8e1929d3b4f5eafb21f0 lib/galaxy/webapps/galaxy/controllers/admin.py --- a/lib/galaxy/webapps/galaxy/controllers/admin.py +++ b/lib/galaxy/webapps/galaxy/controllers/admin.py @@ -56,6 +56,15 @@ if user.galaxy_sessions: return self.format( user.galaxy_sessions[ 0 ].update_time ) return 'never' + class TimeCreatedColumn( grids.GridColumn ): + def get_value( self, trans, grid, user ): + return user.create_time.strftime('%x') + class ActivatedColumn( grids.GridColumn ): + def get_value( self, trans, grid, user ): + if user.active: + return 'Y' + else: + return 'N' # Grid definition title = "Users" @@ -79,6 +88,8 @@ ExternalColumn( "External", attach_popup=False ), LastLoginColumn( "Last Login", format=time_ago ), StatusColumn( "Status", attach_popup=False ), + TimeCreatedColumn( "Created", attach_popup=False ), + ActivatedColumn( "Activated", attach_popup=False ), # Columns that are valid for filtering but are not visible. grids.DeletedColumn( "Deleted", key="deleted", visible=False, filterable="advanced" ) ] Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.