$"Ombi: New {model.RequestType.GetString()?.ToLower()} request for {model.Title}!",
$"Hello! The user '{model.User}' has requested the {model.RequestType.GetString()?.ToLower()} '{model.Title}'! Please log in to approve this request. Request Date: {model.DateTime:f}",
model.ImgSrc);
varmessage=newNotificationMessage
{
Message=html,
Subject=$"Ombi: New {model.RequestType.GetString()?.ToLower()} request for {model.Title}!",
To=settings.RecipientEmail,
};
message.Other.Add("PlainTextBody",$"Hello! The user '{model.User}' has requested the {model.RequestType.GetString()?.ToLower()} '{model.Title}'! Please log in to approve this request. Request Date: {model.DateTime:f}");
$"Hello! The user '{model.User}' has requested {model.Title} but it could not be added. This has been added into the requests queue and will keep retrying",
model.ImgSrc);
varmessage=newNotificationMessage
{
Message=html,
Subject=$"Ombi: A request could not be added",
To=settings.RecipientEmail,
};
message.Other.Add("PlainTextBody",$"Hello! The user '{model.User}' has requested {model.Title} but it could not be added. This has been added into the requests queue and will keep retrying");
varmessage=$"Hello! The user '{model.User}' has requested {model.Title} but it could not be added. This has been added into the requests queue and will keep retrying";
varmessage=$"Hello! The user '{model.RequestedUser}' has requested {model.Title} but it could not be added. This has been added into the requests queue and will keep retrying";
$"Ombi: New {model.RequestType.GetString()?.ToLower()} request for {model.Title}!",
$"Hello! The user '{model.User}' has requested the {model.RequestType.GetString()?.ToLower()} '{model.Title}'! Please log in to approve this request. Request Date: {model.DateTime:f}",
Subject=$"Ombi: New {model.RequestType.GetString()?.ToLower()} request for {model.Title}!",
To=settings.RecipientEmail,
Subject=$"Ombi: New {model.RequestType} request for {model.Title}!",
To=settings.AdminEmail,
};
message.Other.Add("PlainTextBody",$"Hello! The user '{model.User}' has requested the {model.RequestType.GetString()?.ToLower()} '{model.Title}'! Please log in to approve this request. Request Date: {model.DateTime:f}");
message.Other.Add("PlainTextBody",$"Hello! The user '{model.RequestedUser}' has requested the {model.RequestType} '{model.Title}'! Please log in to approve this request. Request Date: {model.DateTime:f}");
$"Hello! The user '{model.User}' has requested {model.Title} but it could not be added. This has been added into the requests queue and will keep retrying",
$"Hello! The user '{model.RequestedUser}' has requested {model.Title} but it could not be added. This has been added into the requests queue and will keep retrying",
model.ImgSrc);
varmessage=newNotificationMessage
{
Message=html,
Subject=$"Ombi: A request could not be added",
To=settings.RecipientEmail,
To=settings.AdminEmail,
};
message.Other.Add("PlainTextBody",$"Hello! The user '{model.User}' has requested {model.Title} but it could not be added. This has been added into the requests queue and will keep retrying");
message.Other.Add("PlainTextBody",$"Hello! The user '{model.RequestedUser}' has requested {model.Title} but it could not be added. This has been added into the requests queue and will keep retrying");
<inputtype="text"[(ngModel)]="settings.logo"class="form-control form-control-custom "id="logo"name="logo"value="{{settings.logo}}"tooltipPosition="top"pTooltip="This will be used on all of the notifications e.g. Newsletter, email notification and also the Landing page">
</div>
</div>
<small>This will be used on all of the notifications e.g. Newsletter, email notification and also the Landing page</small>
<inputtype="checkbox"id="BeforeLogin"name="BeforeLogin"[(ngModel)]="settings.beforeLogin"ng-checked="settings.beforeLogin"tooltipPosition="top"pTooltip="If enabled then this will show the landing page before the login page, if this is disabled the user will log in first and then see the landing page.">
<labelfor="BeforeLogin">Show before the login</label>
</div>
<small>If enabled then this will show the landing page before the login page, if this is disabled the user will log in first and then see the landing page.</small>
<inputtype="text"class="form-control form-control-custom "id="sender"name="sender"[(ngModel)]="settings.sender"value="{{settings.sender}}"tooltipPosition="top"pTooltip="The email address that the emails will be sent from">
<inputtype="text"class="form-control form-control-custom "id="adminEmail"name="adminEmail"[(ngModel)]="settings.adminEmail"value="{{settings.adminEmail}}"tooltipPosition="top"pTooltip="The administrator email will be used to send emails for admin only notifications (e.g. New Requests that require approvals)">
<inputtype="text"class="form-control form-control-custom "id="username"name="username"[(ngModel)]="settings.username"value="{{settings.username}}"pTooltip="The username if authentication is enabled"tooltipPosition="top">
<inputtype="password"class="form-control form-control-custom "id="password"name="password"[(ngModel)]="settings.password"value="{{settings.password}}"pTooltip="The password if authentication is enabled"tooltipPosition="top">
<inputtype="text"[(ngModel)]="settings.port"class="form-control form-control-custom "id="portNumber"name="Port"placeholder="Port Number"value="{{settings.port}}"pTooltip="You will have to restart after changing the port.">
</div>
</div>
<smallclass="control-label">You will have to restart after changing the port.</small>
<!--<div class="form-group">
<labelfor="BaseUrl"class="control-label">Base Url @Html.ToolTip("This will make Ombi run with a base url, usually used in reverse proxy scenarios")</label>