[WTF CVS] wtf/lib/WTF Pages.pm,1.3,1.4 SQL.pm,1.5,1.6
Brought to you by:
gryphonshafer
|
From: Gryphon S. <gry...@us...> - 2006-11-20 02:53:10
|
Update of /cvsroot/wtf-tracker/wtf/lib/WTF In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv29218/lib/WTF Modified Files: Pages.pm SQL.pm Log Message: Added support for the Table Data administrator pages Index: SQL.pm =================================================================== RCS file: /cvsroot/wtf-tracker/wtf/lib/WTF/SQL.pm,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** SQL.pm 7 Nov 2006 16:25:52 -0000 1.5 --- SQL.pm 20 Nov 2006 02:53:07 -0000 1.6 *************** *** 333,336 **** --- 333,349 ---- }, + 'table_data_team' => 'SELECT id, team_id AS parent_id, name FROM team', + 'table_data_area' => 'SELECT id, name, description, active FROM area ORDER BY ordering', + + 'table_data_task' => q{ + SELECT id, task_id AS parent_id, name, description, active, project + FROM task ORDER BY ordering + }, + + 'table_data_activity' => q{ + SELECT id, activity_id AS parent_id, name, description, active + FROM activity ORDER BY ordering + }, + ); Index: Pages.pm =================================================================== RCS file: /cvsroot/wtf-tracker/wtf/lib/WTF/Pages.pm,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Pages.pm 7 Nov 2006 16:23:21 -0000 1.3 --- Pages.pm 20 Nov 2006 02:53:07 -0000 1.4 *************** *** 40,43 **** --- 40,45 ---- '/admin/loginas' => [ 'Admin', 'action_login_as' ], '/admin/revert' => [ 'Admin', 'action_revert_to_self' ], + '/admin/tables' => [ 'Admin', 'screen_table_data' ], + '/admin/tablesave' => [ 'Admin', 'action_save_table_data' ], }, }; |