Revize 1308
Přidáno uživatelem Ondřej Fibich před asi 13 roky(ů)
freenetis/branches/testing/application/controllers/work_reports.php | ||
---|---|---|
|
||
$actions = $grid_concepts->grouped_action_field();
|
||
|
||
if ($this->acl_check_view('Users_Controller', 'work'))
|
||
if ($this->acl_check_view('Users_Controller', 'work', $user->member_id))
|
||
{
|
||
$actions->add_action()
|
||
->icon_action('show')
|
||
->url('work_reports/show');
|
||
}
|
||
|
||
if ($this->acl_check_edit('Users_Controller', 'work'))
|
||
if ($this->acl_check_edit('Users_Controller', 'work', $user->member_id))
|
||
{
|
||
$actions->add_action()
|
||
->icon_action('edit')
|
||
->url('work_reports/edit');
|
||
}
|
||
|
||
if ($this->acl_check_delete('Users_Controller', 'work'))
|
||
if ($this->acl_check_delete('Users_Controller', 'work', $user->member_id))
|
||
{
|
||
$actions->add_action()
|
||
->icon_action('delete')
|
Také k dispozici: Unified diff
Opravy:
- oprava prav u pracovnich vykazu