Browse Source

Show minimum required credits

GeckoBoy84 2 years ago
parent
commit
6e6102d125
2 changed files with 6 additions and 0 deletions
  1. 1 0
      lang/en.json
  2. 5 0
      themes/default/views/servers/create.blade.php

+ 1 - 0
lang/en.json

@@ -535,6 +535,7 @@
     "MB": "MB",
     "MySQL": "MySQL",
     "ports": "ports",
+    "to create this server": "to create this server",
     "Server can´t fit on this node": "Server can´t fit on this node",
     "Not enough": "Not enough",
     "Create server": "Create server",

+ 5 - 0
themes/default/views/servers/create.blade.php

@@ -206,6 +206,11 @@
                                                         ({{ __('ports') }})</span>
                                                     <span class="d-inline-block" x-text="product.allocations"></span>
                                                 </li>
+                                                <li class="d-flex justify-content-between">
+                                                    <span class="d-inline-block"><i class="fa fa-coins"></i>
+                                                        {{ __('Required') }} {{ CREDITS_DISPLAY_NAME }} {{ __('to create this server') }}</span>
+                                                    <span class="d-inline-block" x-text="product.minimum_credits"></span>
+                                                </li>
                                             </ul>
                                         </div>
                                         <div class="mt-2 mb-2">