File tree Expand file tree Collapse file tree 6 files changed +18
-11
lines changed
Blogifier.Web/Views/Blogifier
Packages/Widgets/Newsletter/Views/Shared/Components/Newsletter Expand file tree Collapse file tree 6 files changed +18
-11
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ public class ApplicationSettings
2424
2525 public static string ProfileAvatar { get ; set ; } = "/embedded/lib/img/avatar.jpg" ;
2626
27+ public static string PkgSettingsLayout { get ; set ; } = "~/Views/Blogifier/Admin/_Layout/_Packages.cshtml" ;
28+
2729 #endregion
2830
2931 #region database
Original file line number Diff line number Diff line change @@ -201,6 +201,9 @@ static void LoadFromConfigFile(IConfiguration config)
201201 if ( section [ "BlogThemesFolder" ] != null )
202202 ApplicationSettings . BlogThemesFolder = section . GetValue < string > ( "BlogThemesFolder" ) ;
203203
204+ if ( section [ "PkgSettingsLayout" ] != null )
205+ ApplicationSettings . PkgSettingsLayout = section . GetValue < string > ( "PkgSettingsLayout" ) ;
206+
204207 if ( section [ "SupportedStorageFiles" ] != null )
205208 BlogSettings . SupportedStorageFiles = section . GetValue < string > ( "SupportedStorageFiles" ) ;
206209
Original file line number Diff line number Diff line change 1919}
2020<ul class =" bf-taskbar d-flex flex-lg-column" >
2121 <li class =" taskbar-item" >
22- <a class =" taskbar-item-link" href =" ~/admin/posts/editor/0" title =" New Post" ><i class =" taskbar-item-icon fa fa-plus" ></i ></a >
22+ <a class =" taskbar-item-link" href =" ~/admin/blogposts/editor/0" title =" New Post" >
23+ <i class =" taskbar-item-icon fa fa-plus" ></i >
24+ </a >
2325 </li >
2426 <li is-active-route asp-controller =" BlogPosts" class =" taskbar-item" >
2527 <a asp-controller =" BlogPosts" asp-action =" Index" class =" taskbar-item-link" title =" Posts" >
Original file line number Diff line number Diff line change 3939</footer >
4040@* <a href="#" onclick="profileLogOut(); return false;">Logoff</a>
4141<form method="post" id="frmLogOut" asp-controller="Account" asp-action="Logout" asp-antiforgery="true"></form>*@
42- <script src =" ~/themes/OneFour /js/jquery.min.js" ></script >
43- <script src =" ~/themes/OneFour /js/popper.min.js" ></script >
44- <script src =" ~/themes/OneFour /js/bootstrap.min.js" ></script >
45- <script src =" ~/themes/OneFour /js/prism.js" ></script >
46- <script src =" ~/themes/OneFour /js/blog.js" asp-append-version =" true" ></script >
42+ <script src =" ~/themes/onefour /js/jquery.min.js" ></script >
43+ <script src =" ~/themes/onefour /js/popper.min.js" ></script >
44+ <script src =" ~/themes/onefour /js/bootstrap.min.js" ></script >
45+ <script src =" ~/themes/onefour /js/prism.js" ></script >
46+ <script src =" ~/themes/onefour /js/blog.js" asp-append-version =" true" ></script >
4747@Html.Raw(customFooter)
Original file line number Diff line number Diff line change 1818<meta name =" description" content =" @pageDescription" >
1919<meta name =" viewport" content =" width=device-width, initial-scale=1" >
2020<link href =" https://fonts.googleapis.com/css?family=Roboto:300,400,700|Merriweather:700" rel =" stylesheet" >
21- <link href =" ~/themes/OneFour /css/bootstrap.min.css" rel =" stylesheet" >
22- <link href =" ~/themes/OneFour /css/font-awesome.min.css" rel =" stylesheet" >
23- <link href =" ~/themes/OneFour /css/prism.css" rel =" stylesheet" >
24- <link href =" ~/themes/OneFour /css/styles.min.css" rel =" stylesheet" asp-append-version =" true" >
21+ <link href =" ~/themes/onefour /css/bootstrap.min.css" rel =" stylesheet" >
22+ <link href =" ~/themes/onefour /css/font-awesome.min.css" rel =" stylesheet" >
23+ <link href =" ~/themes/onefour /css/prism.css" rel =" stylesheet" >
24+ <link href =" ~/themes/onefour /css/styles.min.css" rel =" stylesheet" asp-append-version =" true" >
2525<link rel =" shortcut icon" href =" ~/embedded/lib/img/favicon.ico" >
2626@Html.Raw(customHead)
Original file line number Diff line number Diff line change 11@model Blogifier .Core .Data .Models .AdminSettingsModel
22@using Blogifier .Core .Common
33@{
4- Layout = $" ~/{ ApplicationSettings .BlogAdminFolder }/_Layout/_Packages.cshtml " ;
4+ Layout = ApplicationSettings .PkgSettingsLayout ;
55 var emails = (List <string >)ComponentHelper .GetValue (Model .Settings , " Emails" );
66}
77
You can’t perform that action at this time.
0 commit comments