Merge pull request #156 from robofish/editUrlFix
Fixed shift edit/delete URLs in new layout
This commit is contained in:
commit
b221b362dc
|
@ -503,8 +503,8 @@ function view_user_shifts() {
|
|||
$shifts_row = $shift['name'];
|
||||
if (in_array('admin_shifts', $privileges))
|
||||
$shifts_row .= ' ' . table_buttons(array(
|
||||
button(page_link_to('user_shift') . '&edit_shift=' . $shift['SID'], glyph('edit'), 'btn-xs'),
|
||||
button(page_link_to('user_shift') . '&delete_shift=' . $shift['SID'], glyph('trash'), 'btn-xs')
|
||||
button(page_link_to('user_shifts') . '&edit_shift=' . $shift['SID'], glyph('edit'), 'btn-xs'),
|
||||
button(page_link_to('user_shifts') . '&delete_shift=' . $shift['SID'], glyph('trash'), 'btn-xs')
|
||||
));
|
||||
$shifts_row .= '<br />';
|
||||
$query = "SELECT `NeededAngelTypes`.`count`, `AngelTypes`.`id`, `AngelTypes`.`restricted`, `UserAngelTypes`.`confirm_user_id`, `AngelTypes`.`name`, `UserAngelTypes`.`user_id`
|
||||
|
|
Loading…
Reference in New Issue