Discord link via CDN now.
This commit is contained in:
parent
4e66ba078d
commit
d4e1bc6cc0
2 changed files with 7 additions and 1 deletions
|
@ -52,6 +52,7 @@ class VersionService
|
||||||
return (object) [
|
return (object) [
|
||||||
'panel' => 'error',
|
'panel' => 'error',
|
||||||
'daemon' => 'error',
|
'daemon' => 'error',
|
||||||
|
'discord' => 'https://pterodactyl.io',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -67,6 +68,11 @@ class VersionService
|
||||||
return self::$versions->daemon;
|
return self::$versions->daemon;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function getDiscord()
|
||||||
|
{
|
||||||
|
return self::$versions->discord;
|
||||||
|
}
|
||||||
|
|
||||||
public function getCurrentPanel()
|
public function getCurrentPanel()
|
||||||
{
|
{
|
||||||
return config('app.version');
|
return config('app.version');
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-4 text-center">
|
<div class="col-xs-4 text-center">
|
||||||
<a href="https://discord.gg/QRDZvVm"><button class="btn btn-sm btn-warning" style="width:100%;"><i class="fa fa-fw fa-support"></i> Get Help <small>(via Discord)</small></button></a>
|
<a href="{{ Version::getDiscord() }}"><button class="btn btn-sm btn-warning" style="width:100%;"><i class="fa fa-fw fa-support"></i> Get Help <small>(via Discord)</small></button></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-4 text-center">
|
<div class="col-xs-4 text-center">
|
||||||
<a href="https://docs.pterodactyl.io"><button class="btn btn-sm btn-default" style="width:100%;"><i class="fa fa-fw fa-link"></i> Documentation</button></a>
|
<a href="https://docs.pterodactyl.io"><button class="btn btn-sm btn-default" style="width:100%;"><i class="fa fa-fw fa-link"></i> Documentation</button></a>
|
||||||
|
|
Loading…
Reference in a new issue