Merge pull request #387 from aspnet/release/2.1

Move layout and partial script to Shared dir (#368)
This commit is contained in:
Jass Bagga 2018-03-20 15:18:13 -07:00 committed by GitHub
commit 1d00bb449f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 4 deletions

View File

@ -38,16 +38,22 @@
}, },
{ {
"condition": "(!OrganizationalAuth && !IndividualB2CAuth)", "condition": "(!OrganizationalAuth && !IndividualB2CAuth)",
"rename": {
"Pages/Shared/_LoginPartial.Identity.cshtml": "Pages/Shared/_LoginPartial.cshtml"
},
"exclude": [ "exclude": [
"Controllers/**", "Controllers/**",
"Pages/Account/**", "Pages/Account/**",
"Pages/_LoginPartial.cshtml" "Pages/Shared/_LoginPartial.OrgAuth.cshtml"
] ]
}, },
{ {
"condition": "(!IndividualLocalAuth)", "condition": "(!IndividualLocalAuth)",
"rename": {
"Pages/Shared/_LoginPartial.OrgAuth.cshtml": "Pages/Shared/_LoginPartial.cshtml"
},
"exclude": [ "exclude": [
"Pages/Shared/_LoginPartial.cshtml" "Pages/Shared/_LoginPartial.Identity.cshtml"
] ]
}, },
{ {
@ -85,7 +91,7 @@
{ {
"condition": "(IndividualLocalAuth && UseLocalDB)", "condition": "(IndividualLocalAuth && UseLocalDB)",
"rename": { "rename": {
"Data/SqlServer/": "Data/Migrations/", "Data/SqlServer/": "Data/Migrations/"
}, },
"exclude": [ "exclude": [
"Data/SqlLite/**" "Data/SqlLite/**"

View File

@ -1,3 +1,3 @@
@{ @{
Layout = "/Pages/_Layout.cshtml"; Layout = "/Pages/Shared/_Layout.cshtml";
} }