Set a new order for options in frontpage, shortcuts block and shortcuts main nodes
This commit is contained in:
parent
23702da60f
commit
214e32cfe9
57 changed files with 131 additions and 190 deletions
|
@ -1254,7 +1254,15 @@ function stormtask_storm_dashboard_links($type) {
|
|||
'node_type' => 'stormtask',
|
||||
'add_type' => 'stormtask',
|
||||
'map' => array(),
|
||||
'weight' => 5,
|
||||
'weight' => 50,
|
||||
);
|
||||
$links[] = array(
|
||||
'theme' => 'storm_dashboard_link',
|
||||
'title' => t('Tasks Kanban'),
|
||||
'icon' => 'stormkanban-item',
|
||||
'path' => 'tasks/kanban',
|
||||
'access_arguments' => 'Storm task: access',
|
||||
'weight' => 55,
|
||||
);
|
||||
}
|
||||
return $links;
|
||||
|
|
|
@ -100,10 +100,10 @@ function theme_stormtask_view($node, $teaser = FALSE, $page = FALSE) {
|
|||
'#weight' => -25,
|
||||
);
|
||||
|
||||
$node->content['links']['tickets'] = theme('storm_link', 'stormtask', 'stormticket', $node->nid, $l_pos++);
|
||||
$node->content['links']['events'] = theme('storm_link', 'stormtask', 'stormevent', $node->nid, $l_pos++);
|
||||
$node->content['links']['doks'] = theme('storm_link', 'stormtask', 'stormdok', $node->nid, $l_pos++);
|
||||
$node->content['links']['notes'] = theme('storm_link', 'stormtask', 'stormnote', $node->nid, $l_pos++);
|
||||
$node->content['links']['events'] = theme('storm_link', 'stormtask', 'stormevent', $node->nid, $l_pos++);
|
||||
$node->content['links']['tickets'] = theme('storm_link', 'stormtask', 'stormticket', $node->nid, $l_pos++);
|
||||
$node->content['links']['expenses'] = theme('storm_link', 'stormtask', 'stormexpense', $node->nid, $l_pos++);
|
||||
$node->content['links']['timetrackings'] = theme('storm_link', 'stormtask', 'stormtimetracking', $node->nid, $l_pos++);
|
||||
|
||||
|
|
Reference in a new issue