-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ISiteContext.Position for sort order of tenant lists (e.g. in nav…
…igation)
- Loading branch information
Showing
14 changed files
with
767 additions
and
666 deletions.
There are no files selected for viewing
323 changes: 163 additions & 160 deletions
323
League.Demo/Configuration/Tenant.Default.Development.config
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ | |
<!-- May only be true for a single tenant in a tenant store. --> | ||
<IsDefault>True</IsDefault> | ||
<SiteContext> | ||
<!-- The position of the tenant within tenant lists (e.g. navigation). --> | ||
<Position>0</Position> | ||
<!-- The Url segment used to identify the site. May be empty for the default tenant. --> | ||
<UrlSegmentValue></UrlSegmentValue> | ||
<!-- The folder name used for a tenant. This name must be set. --> | ||
|
@@ -25,7 +27,7 @@ | |
<!-- The email address of a recipient. --> | ||
<Address>[email protected]</Address> | ||
</ContactFrom> | ||
<!-- "From" mailbox address for the contact form --> | ||
<!-- "To" mailbox address for the contact form --> | ||
<ContactTo> | ||
<!-- The display name of a recipient. --> | ||
<DisplayName>Volleyball-Liga</DisplayName> | ||
|
@@ -57,7 +59,7 @@ | |
<!-- Notifications sent before and after matches. --> | ||
<MatchNotifications> | ||
<!-- Number of days before the next match will be announced. 0 for none, negative number days. --> | ||
<DaysBeforeNextmatch>-10</DaysBeforeNextmatch> | ||
<DaysBeforeNextMatch>-10</DaysBeforeNextMatch> | ||
<!-- Number of days to remind 1st time for missing match results. 0 for none, positive number of days. --> | ||
<DaysForMatchResultReminder1>3</DaysForMatchResultReminder1> | ||
<!-- Number of days to remind 2nd time for missing match results. 0 for none, positive number of days. --> | ||
|
323 changes: 163 additions & 160 deletions
323
League.Demo/Configuration/Tenant.OtherOrg.Development.config
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ | |
<!-- May only be true for a single tenant in a tenant store. --> | ||
<IsDefault>False</IsDefault> | ||
<SiteContext> | ||
<!-- The position of the tenant within tenant lists (e.g. navigation). --> | ||
<Position>2</Position> | ||
<!-- The Url segment used to identify the site. May be empty for the default tenant. --> | ||
<UrlSegmentValue>otherorg</UrlSegmentValue> | ||
<!-- The folder name used for a tenant. This name must be set. --> | ||
|
@@ -25,7 +27,7 @@ | |
<!-- The email address of a recipient. --> | ||
<Address>[email protected]</Address> | ||
</ContactFrom> | ||
<!-- "From" mailbox address for the contact form --> | ||
<!-- "To" mailbox address for the contact form --> | ||
<ContactTo> | ||
<!-- The display name of a recipient. --> | ||
<DisplayName>OtherOrganization</DisplayName> | ||
|
@@ -57,7 +59,7 @@ | |
<!-- Notifications sent before and after matches. --> | ||
<MatchNotifications> | ||
<!-- Number of days before the next match will be announced. 0 for none, negative number days. --> | ||
<DaysBeforeNextmatch>-10</DaysBeforeNextmatch> | ||
<DaysBeforeNextMatch>-10</DaysBeforeNextMatch> | ||
<!-- Number of days to remind 1st time for missing match results. 0 for none, positive number of days. --> | ||
<DaysForMatchResultReminder1>3</DaysForMatchResultReminder1> | ||
<!-- Number of days to remind 2nd time for missing match results. 0 for none, positive number of days. --> | ||
|
323 changes: 163 additions & 160 deletions
323
League.Demo/Configuration/Tenant.TestOrg.Development.config
Large diffs are not rendered by default.
Oops, something went wrong.
323 changes: 163 additions & 160 deletions
323
League.Demo/Configuration/Tenant.TestOrg.Production.config
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/* Data for the 'dbo.IdentityRole' table (Records 1 - 2) */ | ||
|
||
SET IDENTITY_INSERT dbo.IdentityRole ON; | ||
GO | ||
INSERT INTO dbo.IdentityRole (Id, Name) | ||
VALUES | ||
(1, N'SystemManager'), | ||
(2, N'TournamentManager') | ||
GO | ||
SET IDENTITY_INSERT dbo.IdentityRole OFF; | ||
GO | ||
|
||
/* Data for the 'dbo.MatchRule' table (Records 1 - 1) */ | ||
|
||
SET IDENTITY_INSERT dbo.MatchRule ON; | ||
GO | ||
INSERT INTO dbo.MatchRule (Id, Name, NumOfSets, BestOf, PointsMatchWon, PointsMatchLost, PointsMatchWonAfterTieBreak, PointsMatchLostAfterTieBreak, PointsMatchTie, RankComparer, CreatedOn, ModifiedOn) | ||
VALUES | ||
(1, N'3 sets to win, tie-break rule', 3, 1, 3, 0, 2, 1, 0, 1, GETDATE(), GETDATE()) | ||
SET IDENTITY_INSERT dbo.MatchRule OFF; | ||
GO | ||
|
||
/* Data for the 'dbo.SetRule' table (Records 1 - 1) */ | ||
|
||
SET IDENTITY_INSERT dbo.SetRule ON; | ||
GO | ||
INSERT INTO dbo.SetRule (Id, Name, NumOfPointsToWinRegular, NumOfPointsToWinTiebreak, PointsDiffToWinRegular, PointsDiffToWinTiebreak, PointsSetLost, PointsSetTie, PointsSetWon, MaxTimeouts, MaxSubstitutions, CreatedOn, ModifiedOn) | ||
VALUES | ||
(1, N'Indoor set rule', 25, 15, 2, 2, 0, 0, 1, 2, 6, GETDATE(), GETDATE()), | ||
(1, N'Beach set rule', 21, 15, 2, 2, 0, 0, 1, 2, 0, GETDATE(), GETDATE()) | ||
GO | ||
SET IDENTITY_INSERT dbo.SetRule OFF; | ||
GO | ||
|
||
/* Data for the 'dbo.RoundType' table (Records 1 - 1) */ | ||
|
||
SET IDENTITY_INSERT dbo.RoundType ON; | ||
GO | ||
INSERT INTO dbo.RoundType (Id, Name, Description, CreatedOn, ModifiedOn) | ||
VALUES | ||
(1, N'Female', N'Female teams', GETDATE(), GETDATE()), | ||
(2, N'Male', N'Male teams', GETDATE(), GETDATE()), | ||
(3, N'Mixed', N'Mixed teams', GETDATE(), GETDATE()) | ||
GO | ||
SET IDENTITY_INSERT dbo.RoundType OFF; | ||
GO | ||
|
||
|
||
/* Data for the 'dbo.User' table (Records 1 - 1) */ | ||
|
||
SET IDENTITY_INSERT dbo.[User] ON; | ||
GO | ||
INSERT INTO dbo.[User] (Id, Guid, UserName, PasswordHash, Email, EmailConfirmedOn, PhoneNumber, PhoneNumberConfirmedOn, LastLoginOn, AccessFailedCount, LockoutEndDateUtc, Gender, Title, FirstName, MiddleName, LastName, Nickname, PhoneNumber2, Email2, Birthday, Remarks, CreatedOn, ModifiedOn) | ||
VALUES | ||
(1, N'49afc1e5-d439-40d7-bb13-ce994a825069', N'sysadmin', NULL, N'[email protected]', '20230817', N'', NULL, NULL, 0, NULL, N'm', N'', N'admin', N'', N'admin', N'', N'', N'', NULL, NULL, '20230817', '20230817') | ||
GO | ||
SET IDENTITY_INSERT dbo.[User] OFF; | ||
GO | ||
|
||
/* Data for the 'dbo.IdentityUserRole' table (Records 1 - 1) */ | ||
|
||
SET IDENTITY_INSERT dbo.IdentityUserRole ON; | ||
GO | ||
INSERT INTO dbo.IdentityUserRole (Id, UserId, RoleId) | ||
VALUES | ||
(1, 1, 1) | ||
GO | ||
SET IDENTITY_INSERT dbo.IdentityUserRole OFF; | ||
GO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 7 additions & 6 deletions
13
League/Views/Shared/NavigationNodeChildDropdownPartial.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters