Feature: Disco ICT Online Services - Job Publishing
When warranty jobs are submitted (via plugins) users can choose to include attachments. These attachments are submitted to Disco ICT Online Services. A secure link is then provided to the plugin so the attachments can be retrieved.
This commit is contained in:
@@ -115,7 +115,9 @@ namespace Disco.Web
|
||||
private static Lazy<Regex> htmlCommentDeviceRegex = new Lazy<Regex>(() => { return new Regex(@"((?<!&)!([\w\d-_.]+[\w\d]))", RegexOptions.Compiled, TimeSpan.FromSeconds(.1)); });
|
||||
private static IMarkdownOptions markdownOptions = new MarkdownOptions()
|
||||
{
|
||||
AutoNewLines = true
|
||||
AutoNewLines = true,
|
||||
AutoHyperlink = true,
|
||||
LinkEmails = true
|
||||
};
|
||||
public static MvcHtmlString ToHtmlComment(this string s)
|
||||
{
|
||||
@@ -180,7 +182,7 @@ namespace Disco.Web
|
||||
}
|
||||
|
||||
return new MvcHtmlString(markdown);
|
||||
}
|
||||
}
|
||||
|
||||
public static IEnumerable<SelectListItem> ToSelectListItems(this IEnumerable<string> Items, string SelectedItem = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user