Skip to content

Commit

Permalink
Descriptions for confusing columns
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Oct 12, 2015
1 parent 93b7672 commit e5aa49f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions panoramix/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,17 @@ class DashboardModelView(PanoramixModelView, DeleteMixin):
list_columns = ['dashboard_link', 'created_by']
edit_columns = ['dashboard_title', 'slices', 'position_json', 'css']
add_columns = edit_columns
description_columns = {
'position_json': (
"This json object describes the positioning of the widgets in "
"the dashboard. It is dynamically generated when adjusting "
"the widgets size and positions by using drag & drop in "
"the dashboard view"),
'css': (
"The css for individual dashboards can be altered here, or "
"in the dashboard view where changes are immediatly "
"visible"),
}


appbuilder.add_view(
Expand Down

0 comments on commit e5aa49f

Please sign in to comment.