Línea 10... |
Línea 10... |
10 |
|
10 |
|
11 |
$allowAdd = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/form/add') ? 1 : 0;
|
11 |
$allowAdd = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/form/add') ? 1 : 0;
|
12 |
$allowEdit = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/form/edit') ? 1 : 0;
|
12 |
$allowEdit = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/form/edit') ? 1 : 0;
|
13 |
$allowDelete = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/form/delete') ? 1 : 0;
|
13 |
$allowDelete = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/form/delete') ? 1 : 0;
|
- |
|
14 |
$allowReport = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/report') ? 1 : 0;
|
14 |
$allowReport = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/report') ? 1 : 0;
|
15 |
$allowFile = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/file') ? 1 : 0;
|
15 |
$this->headLink()->appendStylesheet($this->basePath('plugins/nprogress/nprogress.css'));
|
16 |
$this->headLink()->appendStylesheet($this->basePath('plugins/nprogress/nprogress.css'));
|
Línea 16... |
Línea 17... |
16 |
$this->inlineScript()->appendFile($this->basePath('plugins/nprogress/nprogress.js'));
|
17 |
$this->inlineScript()->appendFile($this->basePath('plugins/nprogress/nprogress.js'));
|
Línea 261... |
Línea 262... |
261 |
s = s + '<button class="btn btn-danger btn-delete" data-href="' + data['link_delete'] + '" data-toggle="tooltip" title="LABEL_DELETE"><i class="fa fa-trash"></i> LABEL_DELETE </button> ';
|
262 |
s = s + '<button class="btn btn-danger btn-delete" data-href="' + data['link_delete'] + '" data-toggle="tooltip" title="LABEL_DELETE"><i class="fa fa-trash"></i> LABEL_DELETE </button> ';
|
262 |
}
|
263 |
}
|
263 |
if (allowReport) {
|
264 |
if (allowReport) {
|
264 |
s = s + '<a class="btn btn-default btn-pdf" href="' + data['link_report'] + '" target="_blank" data-toggle="tooltip" title="LABEL_PDF"><i class="fa fa-file-o"></i> LABEL_PDF </button> ';
|
265 |
s = s + '<a class="btn btn-default btn-pdf" href="' + data['link_report'] + '" target="_blank" data-toggle="tooltip" title="LABEL_PDF"><i class="fa fa-file-o"></i> LABEL_PDF </button> ';
|
265 |
}
|
266 |
}
|
- |
|
267 |
if(allowFile) {
|
- |
|
268 |
s = s + '<br><button class="btn btn-info btn-sm btn-question" data-href="' + data['link_file']+ '" data-toggle="tooltip" title="LABEL_QUESTIONS"><i class="fa fa-external-link"></i> LABEL_QUESTIONS </button';
|
- |
|
269 |
}
|
266 |
return s;
|
270 |
return s;
|
267 |
}
|
271 |
}
|
268 |
}
|
272 |
}
|
269 |
],
|
273 |
],
|
270 |
});
|
274 |
});
|