Completed
Pull Request — master (#8051)
by Julius
14:50
created
core/templates/layout.public.php 1 patch
Indentation   +13 added lines, -13 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 http-equiv="X-UA-Compatible" content="IE=edge">
12 12
 	<meta name="referrer" content="never">
@@ -42,11 +42,11 @@  discard block
 block discarded – undo
42 42
 		</div>
43 43
 
44 44
 		<?php
45
-		/** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */
46
-		if($template->getActionCount() !== 0) {
47
-			$primary = $template->getPrimaryAction();
48
-			$others = $template->getOtherActions();
49
-			?>
45
+        /** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */
46
+        if($template->getActionCount() !== 0) {
47
+            $primary = $template->getPrimaryAction();
48
+            $others = $template->getOtherActions();
49
+            ?>
50 50
 		<div class="header-right">
51 51
 			<span id="header-primary-action" class="<?php if($template->getActionCount() === 1) {  p($primary->getIcon()); } ?>">
52 52
 				<a href="<?php p($primary->getLink()); ?>">
@@ -58,11 +58,11 @@  discard block
 block discarded – undo
58 58
 			<div id="share-menu" class="menu">
59 59
 				<ul>
60 60
 					<?php
61
-						/** @var \OCP\AppFramework\Http\Template\IMenuAction $action */
62
-						foreach($template->getOtherActions() as $action) {
63
-							print_unescaped($action->render());
64
-						}
65
-					?>
61
+                        /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */
62
+                        foreach($template->getOtherActions() as $action) {
63
+                            print_unescaped($action->render());
64
+                        }
65
+                    ?>
66 66
 				</ul>
67 67
 			</div>
68 68
 			<?php } ?>
Please login to merge, or discard this patch.