Fixed delete confirms (for build, project, user, group) + UI fixes

This commit is contained in:
Dmitry Khomutov 2017-01-12 23:37:37 +07:00
commit 1cfc51b084
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
10 changed files with 69 additions and 60 deletions

View file

@ -97,7 +97,7 @@ class BuildController extends Controller
$actions = "<a class=\"btn btn-default\" href=\"{$rebuildLink}\">{$rebuild}</a> ";
if ($this->currentUserIsAdmin()) {
$actions .= " <a class=\"btn btn-danger\" href=\"{$deleteLink}\">{$delete}</a>";
$actions .= " <a class=\"btn btn-danger\" id=\"delete-build\" href=\"{$deleteLink}\">{$delete}</a>";
}
$this->layout->actions = $actions;