Skip to content

Commit

Permalink
Fix namespace and add PageLayout configurations. close #7
Browse files Browse the repository at this point in the history
  • Loading branch information
gdlcf88 committed Mar 20, 2020
1 parent 5f3755d commit 805a740
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@page
@namespace EasyAbp.PrivateMessaging.Web.Pages.PrivateMessaging.PrivateMessages.PrivateMessage
@inherits EasyAbp.PrivateMessaging.Web.Pages.PrivateMessagingPage
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal
@using EasyAbp.PrivateMessaging.Web.Pages.PrivateMessaging.PrivateMessages.PrivateMessage
@model DetailModalModel
@{
Layout = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
@page
@namespace EasyAbp.PrivateMessaging.Web.Pages.PrivateMessaging.PrivateMessages.PrivateMessage
@using EasyAbp.PrivateMessaging.Authorization
@using EasyAbp.PrivateMessaging.Web.Pages.PrivateMessaging.PrivateMessages.PrivateMessage
@using Microsoft.AspNetCore.Authorization
@using Volo.Abp.AspNetCore.Mvc.UI.Layout
@inherits EasyAbp.PrivateMessaging.Web.Pages.PrivateMessagingPage
@model InboxModel
@inject IPageLayout PageLayout
@inject IAuthorizationService Authorization
@section scripts
{
Expand All @@ -13,6 +15,10 @@
{
<abp-style src="/Pages/PrivateMessaging/PrivateMessages/PrivateMessage/common.css"/>
}
@{
PageLayout.Content.Title = L["PrivateMessageInbox"].Value;
PageLayout.Content.BreadCrumb.Add(L["Menu:PrivateMessage"].Value);
}

<abp-card>
<abp-card-header>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@page
@using EasyAbp.PrivateMessaging.Web.Pages.PrivateMessaging.PrivateMessages.PrivateMessage
@namespace EasyAbp.PrivateMessaging.Web.Pages.PrivateMessaging.PrivateMessages.PrivateMessage
@using Volo.Abp.AspNetCore.Mvc.UI.Layout
@inherits EasyAbp.PrivateMessaging.Web.Pages.PrivateMessagingPage
@inject IPageLayout PageLayout
@model OutboxModel

@section scripts
Expand All @@ -11,6 +13,10 @@
{
<abp-style src="/Pages/PrivateMessaging/PrivateMessages/PrivateMessage/common.css"/>
}
@{
PageLayout.Content.Title = L["PrivateMessageInbox"].Value;
PageLayout.Content.BreadCrumb.Add(L["Menu:PrivateMessage"].Value);
}

<abp-card>
<abp-card-header>
Expand Down

0 comments on commit 805a740

Please sign in to comment.