Merge pull request #6091 from nextcloud/authpage-design

Add heading to account access page
This commit is contained in:
Morris Jobke 2017-08-14 14:27:09 +02:00 committed by GitHub
commit 317521c7e7
1 changed files with 5 additions and 1 deletions

View File

@ -28,8 +28,12 @@ $urlGenerator = $_['urlGenerator'];
?>
<div class="picker-window">
<h2><?php p($l->t('Account access')) ?></h2>
<p class="info">
<?php p($l->t('You are about to grant "%s" access to your %s account.', [$_['client'], $_['instanceName']])) ?>
<?php print_unescaped($l->t('You are about to grant %s access to your %s account.', [
'<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
\OCP\Util::sanitizeHTML($_['instanceName'])
])) ?>
</p>
<br/>