Skip to content

Commit

Permalink
Fix "Retry to connect" button style
Browse files Browse the repository at this point in the history
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Apr 28, 2021
1 parent edb550b commit 6649d99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/classes/Plugins/Auth/AuthenticationConfig.php
Expand Up @@ -160,7 +160,7 @@ public function showFailure($failure)
$GLOBALS['cfg']['DefaultTabServer'],
'server'
)
, '" class="btn button mt-1 disableAjax">'
, '" class="btn btn-primary mt-1 mb-1 disableAjax">'
, __('Retry to connect')
, '</a>' , "\n";
echo '</td>
Expand Down
2 changes: 1 addition & 1 deletion test/classes/Plugins/Auth/AuthenticationConfigTest.php
Expand Up @@ -109,7 +109,7 @@ public function testAuthFails(): void

$this->assertStringContainsString(
'<a href="index.php?route=/&server=0&lang=en" '
. 'class="btn button mt-1 disableAjax">Retry to connect</a>',
. 'class="btn btn-primary mt-1 mb-1 disableAjax">Retry to connect</a>',
$html
);
}
Expand Down

0 comments on commit 6649d99

Please sign in to comment.