Commit f554482a authored by Frank Bergmann's avatar Frank Bergmann

- Baselkb changes

parent 38c03691
......@@ -449,7 +449,7 @@ extra_select, extra_where, sort_order, visible_for) values (91004,910,NULL,'Mate
'','',4,'');
insert into im_view_columns (column_id, view_id, group_id, column_name, column_render_tcl,
extra_select, extra_where, sort_order, visible_for) values (91006,910,NULL,'"Cost Center"',
'"<a href=/intranet-cost/cost_centers/new?[export_url_vars cost_center_id return_url]>$cost_center_name</a>"',
'"<a href=/intranet-cost/cost-centers/new?[export_url_vars cost_center_id return_url]>$cost_center_name</a>"',
'','',6,'');
insert into im_view_columns (column_id, view_id, group_id, column_name, column_render_tcl,
extra_select, extra_where, sort_order, visible_for) values (91010,910,NULL,'Plan',
......
......@@ -4,6 +4,9 @@
<property name="main_navbar_label">projects</property>
<property name="focus">@focus;noquote@</property>
<br>
@project_menu;noquote@
<h2>@page_title@</h2>
<if @message@ not nil>
......
......@@ -256,3 +256,13 @@ where
}
}
# ---------------------------------------------------------------
# Project Menu
# ---------------------------------------------------------------
# Setup the subnavbar
set bind_vars [ns_set create]
ns_set put $bind_vars project_id $project_id
set project_menu_id [db_string parent_menu "select menu_id from im_menus where label='project'" -default 0]
set project_menu [im_sub_navbar $project_menu_id $bind_vars "" "pagedesriptionbar" "project_timesheet_task"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment