Feedback for Dashboard widget logic

Review Request #2361 — Created May 17, 2011 and discarded — Latest diff uploaded

Information

Review Board

Reviewers

I would like to get some feedback for this dashboard logic and code style formatting.

The dashboard.html template would have this:
Example: {% admin_widget "user-activity" _("User Activity") %}
I followed the same pattern as {% admin_subnav .... %}

'admin/admin_widget.html' - is a wrap for all widgets

'w-user-activity.html' - is a template that includes the necessary HTML and JavaScript for "User Activity" and is 'embedded' as '{% include widget_content %}' in 'admin_widget.html'

'rbadmintags.py' -  admin_widget(...) has a list of all possible widgets in "widgets = {}".