This commit is contained in:
2020-08-04 23:26:59 +00:00
parent 1e27705528
commit 6665f3b3db
2 changed files with 3 additions and 124 deletions

View File

@@ -29,6 +29,8 @@ namespace AyaNova.Biz
switch (ayaType)
{
//Oddballs only, otherwise let default handle it
case AyaType.OpsNotificationSettings:
return "-";
case AyaType.Global:
return "Global";
case AyaType.GlobalOps:

View File

@@ -592,7 +592,7 @@ namespace AyaNova.Util
u.Roles = roles;
u.UserType = userType;
u.EmployeeNumber = "A-" + (454 + SeededUserCount).ToString() + "-Y";
u.EmployeeNumber = "A-" + (454 + SeededUserCount + x).ToString() + "-Y";
u.Notes = Fake.Lorem.Sentence(null, 5);//Fake.Lorem.Paragraph(2);
//TODO: After have USER and HEADOFFICE and VENDOR, if usertype is subcontractor or client or headoffice it needs to set a corresponding user's parent org record id to go with it
//use provided tags or generate them
@@ -608,129 +608,6 @@ namespace AyaNova.Util
u.UserOptions.CurrencyName = "USD";
u.UserOptions.UiColor = Fake.Internet.Color();
// u.Wiki = @"
// # Markdown quick reference for Wiki pages
// ***
// ***
// <br>
// ## Markdown and Wiki documents
// Wiki's are formatted using **[Markdown](https://en.wikipedia.org/wiki/Markdown)** a plain text formatting language.
// This document is a quick reference guide and at the bottom is a link to a more comprehensive guide online.
// You can also use the formatting toolbar above to perform the same tasks.
// # Headings
// # Heading 1st level
// ## Heading 2nd level
// ### Heading 3rd level
// #### Heading 4th level
// ##### Heading 5th level
// ###### Heading 6th level
// ***
// # Emphasis text styles
// *Italic*
// **Bold**
// ~~Strike-through~~
// ***Bold And Italic***
// # Quote blocks
// > ""Morbi eget dapibus felis. Vivamus venenatis porttitor tortor sit amet rutrum.
// Pellentesque aliquet quam enim, eu volutpat urna rutrum a. Nam vehicula nunc
// >
// > mauris, a ultricies libero efficitur sed. *Class aptent* taciti sociosqu ad
// litora torquent per conubia nostra, per inceptos himenaeos. Sed molestie
// imperdiet consectetur.""
// # Lists
// ### Unordered list
// * List
// * List
// * List
// ### Ordered list
// 1. One
// 2. Two
// 3. Three
// ### Auto number ordered list
// Ordered lists don't need the numbers to be in order, just that they start with 1:
// 1. Item
// 1. another item
// 1. more item
// ### Nested lists
// * First
// * subitem One
// * subitem Two
// * Second
// 1. sub one
// 2. sub two
// # Blank lines
// You can force extra blank lines by entering `<br>` here are two blank ...
// <br>
// <br>
// ...lines.
// # Horizontal rules
// ***
// # Blocks
// `Inline block` with backticks
// ```
// Multi-line block
// print '3 backticks or'
// print 'indent 4 spaces'
// ```
// # Task lists
// - [ ] task one
// - [x] task two (completed)
// # TABLES
// | First | Last | Year |
// | -------- | -------- | -------- |
// | John | Doe | 2000 |
// | Mary | Smith | 2001 |
// | T. | Persson | 2010 |
// # Hyperlinks
// Inline text link and and optional tooltip:
// Link to [our website](https://ayanova.com ""Hover text tooltip"") example
// If you don't need an inline link you can simply enter it in angle brackets:
// <https://ayanova.com>
// Even email links work:
// <support@ayanova.com>
// <br>
// You can also use emphasis characters with links:
// Link to **[our website](https://ayanova.com)** example
// # Image
// This is how you insert an image into a wiki
// ![Image](https://www.ayanova.com/images/AyaNovaIcon256.png)
// # Emojis
// As with all areas of AyaNova where you can enter text, you can also use emoji characters:
// # 😀⚽🏒🍕🚗☀❤😎
// <br>
// # Markdown guide
// A more detailed markdown guide is available here:
// <https://www.markdownguide.org/>
// ***
// ";
//this seems wrong to get a new context inside a loop but in testing is actually faster!?
using (AyContext ct = ServiceProviderProvider.DBContext)