Skip to content

Commit bdcd522

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents f1b1739 + 087151c commit bdcd522

File tree

5 files changed

+20
-15
lines changed

5 files changed

+20
-15
lines changed

angular/src/app/tenants/create-tenant/create-tenant.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div bsModal #createTenantModal="bs-modal" class="modal fade" (onShown)="onShown()" tabindex="-1" role="dialog" aria-labelledby="createUserModal" aria-hidden="true" [config]="{backdrop: 'static'}">
1+
<div bsModal #createTenantModal="bs-modal" class="modal fade" (onShown)="onShown()" tabindex="-1" role="dialog" aria-labelledby="createUserModal" aria-hidden="true" [config]="{backdrop: 'static'}">
22
<div class="modal-dialog">
33

44
<div #modalContent class="modal-content">
@@ -45,7 +45,7 @@ <h4 class="modal-title">
4545
<label for="isactive" class="form-label">{{ "IsActive" | localize }}</label>
4646
</div>
4747
</div>
48-
<p>{{ "DefaultPasswordIs" | localize }} 123qwe</p>
48+
<p>{{ "DefaultPasswordIs" | localize:'123qwe' }}</p>
4949
</div>
5050

5151
<div class="modal-footer">

angular/src/shared/pipes/localize.pipe.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ import { Injector, Pipe, PipeTransform } from '@angular/core';
22
import { AppComponentBase } from '@shared/app-component-base';
33

44
@Pipe({
5-
name: 'localize'
5+
name: 'localize'
66
})
77
export class LocalizePipe extends AppComponentBase implements PipeTransform {
88

9-
constructor(injector: Injector) {
10-
super(injector);
11-
}
12-
13-
transform(key: string): string {
14-
return this.l(key);
15-
}
9+
constructor(injector: Injector) {
10+
super(injector);
11+
}
12+
13+
transform(key: string, ...args: any[]): string {
14+
return this.l(key, args);
15+
}
1616
}

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/web.config

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
<handlers>
55
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
66
</handlers>
7-
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false" startupTimeLimit="3600" requestTimeout="23:00:00" />
7+
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false" startupTimeLimit="3600" requestTimeout="23:00:00">
8+
<environmentVariables />
9+
</aspNetCore>
810
<httpProtocol>
911
<customHeaders>
1012
<remove name="X-Powered-By" />

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Controllers/TenantsController.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using AbpCompanyName.AbpProjectName.Authorization;
66
using AbpCompanyName.AbpProjectName.Controllers;
77
using AbpCompanyName.AbpProjectName.MultiTenancy;
8+
using AbpCompanyName.AbpProjectName.MultiTenancy.Dto;
89

910
namespace AbpCompanyName.AbpProjectName.Web.Controllers
1011
{
@@ -20,7 +21,7 @@ public TenantsController(ITenantAppService tenantAppService)
2021

2122
public async Task<ActionResult> Index()
2223
{
23-
var output = await _tenantAppService.GetAll(new PagedResultRequestDto { MaxResultCount = int.MaxValue }); // Paging not implemented yet
24+
var output = await _tenantAppService.GetAll(new PagedTenantResultRequestDto { MaxResultCount = int.MaxValue }); // Paging not implemented yet
2425
return View(output);
2526
}
2627

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/web.config

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
<configuration>
33
<system.webServer>
44
<handlers>
5-
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
5+
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
66
</handlers>
7-
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/>
7+
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false">
8+
<environmentVariables />
9+
</aspNetCore>
810
<staticContent>
911
<remove fileExtension=".woff" />
1012
<remove fileExtension=".woff2" />
@@ -17,4 +19,4 @@
1719
</customHeaders>
1820
</httpProtocol>
1921
</system.webServer>
20-
</configuration>
22+
</configuration>

0 commit comments

Comments
 (0)