Merge pull request #241 from jozefbonnar/development
Added so it shows the currency of your coins in the notification
This commit is contained in:
commit
0cab51191f
|
@ -41,14 +41,14 @@ class WelcomeMessage extends Notification implements ShouldQueue
|
||||||
{
|
{
|
||||||
$AdditionalLine = "";
|
$AdditionalLine = "";
|
||||||
if(Configuration::getValueByKey('CREDITS_REWARD_AFTER_VERIFY_EMAIL') != 0) {
|
if(Configuration::getValueByKey('CREDITS_REWARD_AFTER_VERIFY_EMAIL') != 0) {
|
||||||
$AdditionalLine .= "Verifying your E-Mail Adress will grant you ".Configuration::getValueByKey('CREDITS_REWARD_AFTER_VERIFY_EMAIL')." additional Credits <br />";
|
$AdditionalLine .= "Verifying your E-Mail Address will grant you ".Configuration::getValueByKey('CREDITS_REWARD_AFTER_VERIFY_EMAIL')." additional " . Configuration::getValueByKey('CREDITS_DISPLAY_NAME') . " <br />";
|
||||||
}
|
}
|
||||||
if(Configuration::getValueByKey('SERVER_LIMIT_REWARD_AFTER_VERIFY_EMAIL') != 0) {
|
if(Configuration::getValueByKey('SERVER_LIMIT_REWARD_AFTER_VERIFY_EMAIL') != 0) {
|
||||||
$AdditionalLine .= "Verifying your Mail will also increase your Server Limit by " . Configuration::getValueByKey('SERVER_LIMIT_REWARD_AFTER_VERIFY_EMAIL') . " <br />";
|
$AdditionalLine .= "Verifying your Mail will also increase your Server Limit by " . Configuration::getValueByKey('SERVER_LIMIT_REWARD_AFTER_VERIFY_EMAIL') . " <br />";
|
||||||
}
|
}
|
||||||
$AdditionalLine .="<br />";
|
$AdditionalLine .="<br />";
|
||||||
if(Configuration::getValueByKey('CREDITS_REWARD_AFTER_VERIFY_DISCORD') != 0) {
|
if(Configuration::getValueByKey('CREDITS_REWARD_AFTER_VERIFY_DISCORD') != 0) {
|
||||||
$AdditionalLine .= "You can also verify your discord account to get another " . Configuration::getValueByKey('CREDITS_REWARD_AFTER_VERIFY_DISCORD') . " credits <br />";
|
$AdditionalLine .= "You can also verify your discord account to get another " . Configuration::getValueByKey('CREDITS_REWARD_AFTER_VERIFY_DISCORD') . " " . Configuration::getValueByKey('CREDITS_DISPLAY_NAME') . " <br />";
|
||||||
}
|
}
|
||||||
if(Configuration::getValueByKey('SERVER_LIMIT_REWARD_AFTER_VERIFY_DISCORD') != 0) {
|
if(Configuration::getValueByKey('SERVER_LIMIT_REWARD_AFTER_VERIFY_DISCORD') != 0) {
|
||||||
$AdditionalLine .= "Verifying Discord will also increase your Server Limit by " . Configuration::getValueByKey('SERVER_LIMIT_REWARD_AFTER_VERIFY_DISCORD') . " <br />";
|
$AdditionalLine .= "Verifying Discord will also increase your Server Limit by " . Configuration::getValueByKey('SERVER_LIMIT_REWARD_AFTER_VERIFY_DISCORD') . " <br />";
|
||||||
|
@ -69,7 +69,7 @@ class WelcomeMessage extends Notification implements ShouldQueue
|
||||||
'content' => "
|
'content' => "
|
||||||
<p>Hello <strong>{$this->user->name}</strong>, Welcome to our dashboard!</p>
|
<p>Hello <strong>{$this->user->name}</strong>, Welcome to our dashboard!</p>
|
||||||
<h5>Verification</h5>
|
<h5>Verification</h5>
|
||||||
<p>Please remember that you can verify your E-Mail Adress and Link/Verify your Discord-Account</p>
|
<p>Please remember that you can verify your E-Mail address and Link/Verify your Discord-Account</p>
|
||||||
<p>
|
<p>
|
||||||
".WelcomeMessage::AdditionalLines()."
|
".WelcomeMessage::AdditionalLines()."
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue