@@ 199-204 (lines=6) @@ | ||
196 | } |
|
197 | ||
198 | $html = '<strong>Patcher</strong>: <a href="'.ROOT_URL.'vendor/mouf/mouf/patcher/?name='.$instanceName.'" class="btn btn-large btn-success patch-run-all"><i class="icon-arrow-right icon-white"></i> Apply '; |
|
199 | if ($nbAwaitingPatchs != 0) { |
|
200 | $html .= $nbAwaitingPatchs." awaiting patch".(($nbAwaitingPatchs != 1)?"es":""); |
|
201 | if ($nbPatchesInError != 0) { |
|
202 | $html .=" and"; |
|
203 | } |
|
204 | } |
|
205 | if ($nbPatchesInError != 0) { |
|
206 | $html .=$nbPatchesInError." patch".(($nbPatchesInError != 1)?"es":"")." in error"; |
|
207 | } |
|
@@ 205-207 (lines=3) @@ | ||
202 | $html .=" and"; |
|
203 | } |
|
204 | } |
|
205 | if ($nbPatchesInError != 0) { |
|
206 | $html .=$nbPatchesInError." patch".(($nbPatchesInError != 1)?"es":"")." in error"; |
|
207 | } |
|
208 | $html .='</a>'; |
|
209 | ||
210 |