Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/registration.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-07-10 15:12:56 +0300
committerJoas Schilling <coding@schilljs.com>2020-07-10 15:18:53 +0300
commit32e1ce8df12043a09a49580108adecdf48929cf1 (patch)
tree127703402e040e30d9f5416c159890917c9992eb /appinfo
parent1759d2176ee43adcaa4499a761ea0b0a21b89021 (diff)
Use the primary color and adjust the width when it's the only option
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index bfc9dbe..8ed3342 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -9,7 +9,9 @@
* @copyright Pellaeon Lin 2014
*/
+\OCP\Util::addStyle('registration', 'register-button');
\OC_App::registerLogIn([
'name' => \OC::$server->getL10N('registration')->t('Register'),
- 'href' => \OC::$server->getURLGenerator()->linkToRoute('registration.register.askEmail')
+ 'href' => \OC::$server->getURLGenerator()->linkToRoute('registration.register.askEmail'),
+ 'style' => 'register-button',
]);