mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-24 03:20:33 +02:00
Some more UI fixes
This commit is contained in:
parent
ed8d8d47ba
commit
3a6319fe6d
6 changed files with 43 additions and 325 deletions
|
@ -1038,7 +1038,7 @@ class DomainsController extends Controller
|
|||
foreach ($results as $row) {
|
||||
$status = $row['status'];
|
||||
if (preg_match('/.*(serverUpdateProhibited)$/', $status) || preg_match('/^pendingTransfer/', $status)) {
|
||||
$this->container->get('flash')->addMessage('error', 'It has a status that does not allow renew, first change the status');
|
||||
$this->container->get('flash')->addMessage('error', 'It has a status that does not allow update, first change the status');
|
||||
return $response->withHeader('Location', '/domain/update/'.$domainName)->withStatus(302);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue