Przeglądaj źródła

Merge pull request #7 from anondev-sudo/patch-1

Just some small fixes
AVMG 4 lat temu
rodzic
commit
b306c48898

+ 1 - 1
app/Notifications/WelcomeMessage.php

@@ -52,7 +52,7 @@ class WelcomeMessage extends Notification
                 <h5>Verification</h5>
                 <p>Please verify your email address to get " . Configuration::getValueByKey('CREDITS_REWARD_AFTER_VERIFY_EMAIL') . " extra credits and increase your server limit to " . Configuration::getValueByKey('SERVER_LIMIT_REWARD_AFTER_VERIFY_EMAIL') . "<br />You can also verify your discord account to get another " . Configuration::getValueByKey('CREDITS_REWARD_AFTER_VERIFY_DISCORD') . " credits and to increase your server limit again with " . Configuration::getValueByKey('SERVER_LIMIT_REWARD_AFTER_VERIFY_DISCORD') . "</p>
                 <h5>Information</h5>
-                <p>This dashboard can be used to create and delete servers.<br /> These servers can be used and managed thru our pterodactyl panel.<br /> If you have any questions, please join our Discord and #create-a-ticket.</p>
+                <p>This dashboard can be used to create and delete servers.<br /> These servers can be used and managed on our pterodactyl panel.<br /> If you have any questions, please join our Discord server and #create-a-ticket.</p>
                 <p>We hope you can enjoy this hosting experience and if you have any suggestions please let us know!</p>
                 <p>Regards,<br />" . config('app.name', 'Laravel') . "</p>
             ",

+ 6 - 6
resources/views/home.blade.php

@@ -58,8 +58,8 @@
                         <span class="info-box-icon bg-warning elevation-1"><i class="fas fa-chart-line"></i></span>
 
                         <div class="info-box-content">
-                            <span class="info-box-text">Usage</span>
-                            <span class="info-box-number">{{number_format($useage, 2, '.', '')}} <sup>p/m</sup></span>
+                            <span class="info-box-text">Credit usage</span>
+                            <span class="info-box-number">{{number_format($useage, 2, '.', '')}} <sup>per month</sup></span>
                         </div>
                         <!-- /.info-box-content -->
                     </div>
@@ -83,23 +83,23 @@
                         <div class="card-body">
                             <div class="alert alert-dismissible">
                                 <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
-                                <h5><a class="alert-link text-decoration-none" href="{{env('PTERODACTYL_URL' , 'http://localhost')}}"><i
+                                <h5><a class="alert-link text-decoration-none" target="__blank" href="{{env('PTERODACTYL_URL' , 'http://localhost')}}"><i
                                             class="fas fa-egg mr-2"></i>Pterodactyl Panel</a></h5>
                                 Use your servers on our pterodactyl panel <small>(You can use the same login details)</small>
                             </div>
 
                             <div class="alert alert-dismissible">
                                 <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
-                                <h5><a class="alert-link text-decoration-none" href="{{env('PHPMYADMIN_URL' , 'http://localhost')}}"><i
+                                <h5><a class="alert-link text-decoration-none" target="__blank" href="{{env('PHPMYADMIN_URL' , 'http://localhost')}}"><i
                                             class="fas fa-database mr-2"></i>phpMyAdmin</a></h5>
                                 View your database online using phpMyAdmin
                             </div>
 
                             <div class="alert alert-dismissible">
                                 <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
-                                <h5><a class="alert-link text-decoration-none" href="{{env('DISCORD_INVITE_URL')}}"><i
+                                <h5><a class="alert-link text-decoration-none" target="__blank" href="{{env('DISCORD_INVITE_URL')}}"><i
                                             class="fab fa-discord mr-2"></i>Discord</a></h5>
-                                Need a helping hand? want to chat? got any questions? Join our discord!
+                                Need a helping hand? Want to chat? Got any questions? Join our discord!
                             </div>
                         </div>
                         <!-- /.card-body -->

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

@@ -34,7 +34,7 @@
                 <a href="{{route('home')}}" class="nav-link">Home</a>
             </li>
             <li class="nav-item d-none d-sm-inline-block">
-                <a href="{{env('DISCORD_INVITE_URL')}}" class="nav-link">Discord</a>
+                <a href="{{env('DISCORD_INVITE_URL')}}" class="nav-link" target="__blank">Discord</a>
             </li>
         </ul>