|
@@ 114-121 (lines=8) @@
|
| 111 |
|
echo "<h2>Non-queueable tasks</h2>\n"; |
| 112 |
|
echo "<p>These tasks shouldn't be added the queuejobs queue, but you can run them immediately.</p>\n"; |
| 113 |
|
echo "<ul>"; |
| 114 |
|
foreach ($backlistedTasks as $task) { |
| 115 |
|
$immediateLink = $base . "dev/tasks/" . $task['segment']; |
| 116 |
|
|
| 117 |
|
echo "<li><p>"; |
| 118 |
|
echo "<a href=\"$immediateLink\">" . $task['title'] . "</a><br />"; |
| 119 |
|
echo "<span class=\"description\">" . $task['description'] . "</span>"; |
| 120 |
|
echo "</p></li>\n"; |
| 121 |
|
} |
| 122 |
|
echo "</ul></div>"; |
| 123 |
|
|
| 124 |
|
echo "<div class=\"options\">"; |
|
@@ 128-135 (lines=8) @@
|
| 125 |
|
echo "<h2>Queueable only tasks</h2>\n"; |
| 126 |
|
echo "<p>These tasks must be be added the queuejobs queue, running it immediately is not allowed.</p>\n"; |
| 127 |
|
echo "<ul>"; |
| 128 |
|
foreach ($queuedOnlyTasks as $task) { |
| 129 |
|
$queueLink = $base . "dev/tasks/queue/" . $task['segment']; |
| 130 |
|
|
| 131 |
|
echo "<li><p>"; |
| 132 |
|
echo "<a href=\"$queueLink\">" . $task['title'] . "</a><br />"; |
| 133 |
|
echo "<span class=\"description\">" . $task['description'] . "</span>"; |
| 134 |
|
echo "</p></li>\n"; |
| 135 |
|
} |
| 136 |
|
echo "</ul></div>"; |
| 137 |
|
|
| 138 |
|
echo $renderer->renderFooter(); |