1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00

Removed invalid contact info and added link to abuse page.

Added check for premium user's when cleaning inactive accounts.
This commit is contained in:
Uncled1023 2018-01-26 18:48:12 -08:00
parent 3c6845d4a6
commit da633a5831
2 changed files with 14 additions and 13 deletions

View File

@ -537,6 +537,12 @@ Thank you for your continued use of Teknik!
continue;
}
// If they are Premium, don't worry about it either
if (user.AccountType == AccountType.Premium && user.AccountStatus != AccountStatus.Banned)
{
continue;
}
#region Inactivity Finding
DateTime lastActivity = DateTime.Now;
try

View File

@ -1,4 +1,4 @@
@model Teknik.Areas.Contact.ViewModels.ContactViewModel
@model Teknik.Areas.Contact.ViewModels.ContactViewModel
@using Teknik.Utilities
@ -65,26 +65,21 @@
</div>
</form>
</div>
<div class="row">
<div class="col-sm-10 col-sm-offset-1"><p>If you want to report abuse, follow the instructions at the <a href="@Url.SubRouteUrl("abuse", "Abuse.Index")">Abuse Prevention</a> page.</p></div>
</div>
</div>
<div class="col-md-4">
<form>
<legend><span class="glyphicon glyphicon-globe"></span> Where to find us</legend>
<address>
<strong>Teknik on Rizon IRC</strong><br>
#Teknik (<a href="irc://irc.rizon.net" target="_blank">irc.rizon.net</a>)<br>
</address>
<address>
<strong>/g/ Technology on Rizon IRC</strong><br>
#/g/technology (<a href="irc://irc.rizon.net" target="_blank">irc.rizon.net</a>)<br>
</address>
<address>
<strong>Teknik IRC</strong><br>
#teknik (<a href="irc://irc.teknik.io" target="_blank">irc.teknik.io</a>)<br>
</address>
<address>
<strong>Customer Support</strong><br>
<a href="mailto:@Model.Config.SupportEmail">@Model.Config.SupportEmail</a>
</address>
<address>
<strong>Teknik on Rizon IRC</strong><br>
#Teknik (<a href="irc://irc.rizon.net" target="_blank">irc.rizon.net</a>)<br>
</address>
</form>
</div>
</div>