Ver código fonte

Update main.blade.php

Dennis 2 anos atrás
pai
commit
c973774ac1
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3 1
      resources/views/layouts/main.blade.php

+ 3 - 1
resources/views/layouts/main.blade.php

@@ -404,7 +404,9 @@
                     href="{{ url('/') }}">{{ env('APP_NAME', 'Laravel') }}</a>.</strong>
             All rights
             reserved. Powered by <a href="https://controlpanel.gg">ControlPanel</a>. Version
-            <b>{{ config('app')['version'] }} - {{config("BranchName")}}</b>
+            @if(config("BRANCHNAME") != "main")
+                <b>{{ config('app')['version'] }} - {{config("BRANCHNAME")}}</b>
+            @endif
         </footer>
 
         <!-- Control Sidebar -->