Passed
Push — master ( c3d0b7...102617 )
by Christoph
14:59 queued 12s
created
core/templates/layout.public.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@  discard block
 block discarded – undo
4 4
 	<meta charset="utf-8">
5 5
 	<title>
6 6
 		<?php
7
-		p(!empty($_['application'])?$_['application'].' - ':'');
8
-		p($theme->getTitle());
9
-		?>
7
+        p(!empty($_['application'])?$_['application'].' - ':'');
8
+        p($theme->getTitle());
9
+        ?>
10 10
 	</title>
11 11
 	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
12 12
 	<?php if ($theme->getiTunesAppId() !== '') { ?>
@@ -55,13 +55,13 @@  discard block
 block discarded – undo
55 55
 
56 56
 		<div class="header-right">
57 57
 		<?php
58
-		/** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */
59
-		if (isset($template) && $template->getActionCount() !== 0) {
60
-			$primary = $template->getPrimaryAction();
61
-			$others = $template->getOtherActions(); ?>
58
+        /** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */
59
+        if (isset($template) && $template->getActionCount() !== 0) {
60
+            $primary = $template->getPrimaryAction();
61
+            $others = $template->getOtherActions(); ?>
62 62
 			<span id="header-primary-action" class="<?php if ($template->getActionCount() === 1) {
63
-				p($primary->getIcon());
64
-			} ?>">
63
+                p($primary->getIcon());
64
+            } ?>">
65 65
 				<a href="<?php p($primary->getLink()); ?>" class="primary button">
66 66
 					<span><?php p($primary->getLabel()) ?></span>
67 67
 				</a>
@@ -72,17 +72,17 @@  discard block
 block discarded – undo
72 72
 				<div id="header-actions-menu" class="popovermenu menu">
73 73
 					<ul>
74 74
 						<?php
75
-							/** @var \OCP\AppFramework\Http\Template\IMenuAction $action */
76
-							foreach ($others as $action) {
77
-								print_unescaped($action->render());
78
-							}
79
-						?>
75
+                            /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */
76
+                            foreach ($others as $action) {
77
+                                print_unescaped($action->render());
78
+                            }
79
+                        ?>
80 80
 					</ul>
81 81
 				</div>
82 82
 			</div>
83 83
 			<?php } ?>
84 84
 		<?php
85
-		} ?>
85
+        } ?>
86 86
 		</div>
87 87
 	</header>
88 88
 	<main id="content" class="app-<?php p($_['appid']) ?>">
@@ -99,16 +99,16 @@  discard block
 block discarded – undo
99 99
 	<footer>
100 100
 		<p><?php print_unescaped($theme->getLongFooter()); ?></p>
101 101
 		<?php
102
-		if ($_['showSimpleSignUpLink']) {
103
-			?>
102
+        if ($_['showSimpleSignUpLink']) {
103
+            ?>
104 104
 			<p>
105 105
 				<a href="https://nextcloud.com/signup/" target="_blank" rel="noreferrer noopener">
106 106
 					<?php p($l->t('Get your own free account')); ?>
107 107
 				</a>
108 108
 			</p>
109 109
 			<?php
110
-		}
111
-		?>
110
+        }
111
+        ?>
112 112
 	</footer>
113 113
 	<?php } ?>
114 114
 
Please login to merge, or discard this patch.