@@ -174,14 +174,19 @@ public function col_startdate($row) {
174174 */
175175 public function col_tools ($ row ) {
176176 global $ OUTPUT , $ PAGE ;
177- $ output = '' ;
178- $ output .= $ OUTPUT ->single_button (new \moodle_url ($ PAGE ->url ,
179- ['action ' => 'rollback ' , 'processid ' => $ row ->processid , 'sesskey ' => sesskey (), 'search ' => $ this ->search ]),
180- get_string ('rollback ' , 'tool_lifecycle ' ), 'post ' , 'secondary ' , ['class ' => 'mr-1 ' ]
177+ $ output = $ OUTPUT ->single_button (
178+ new \moodle_url ($ PAGE ->url , ['action ' => 'rollback ' , 'processid ' => $ row ->processid ,
179+ 'sesskey ' => sesskey (), 'search ' => $ this ->search ]),
180+ get_string ('rollback ' , 'tool_lifecycle ' ),
181+ 'post ' ,
182+ ['class ' => 'mr-1 ' ]
181183 );
182- $ output .= $ OUTPUT ->single_button (new \moodle_url ($ PAGE ->url ,
183- ['action ' => 'proceed ' , 'processid ' => $ row ->processid , 'sesskey ' => sesskey (), 'search ' => $ this ->search ]),
184- get_string ('proceed ' , 'tool_lifecycle ' ), 'post ' , 'secondary ' , ['class ' => 'mt-1 ' ]
184+ $ output .= $ OUTPUT ->single_button (
185+ new \moodle_url ($ PAGE ->url , ['action ' => 'proceed ' , 'processid ' => $ row ->processid ,
186+ 'sesskey ' => sesskey (), 'search ' => $ this ->search ]),
187+ get_string ('proceed ' , 'tool_lifecycle ' ),
188+ 'post ' ,
189+ ['class ' => 'mt-1 ' ]
185190 );
186191 return $ output ;
187192 }
0 commit comments