File tree 4 files changed +7
-6
lines changed
4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -466,10 +466,10 @@ private string GetFromEmail()
466
466
{
467
467
if ( string . IsNullOrWhiteSpace ( dasBlogSettings . SiteConfiguration . SmtpFromEmail ) )
468
468
{
469
- return dasBlogSettings . SiteConfiguration . SmtpUserName ;
469
+ return dasBlogSettings . SiteConfiguration . SmtpUserName ? . Trim ( ) ;
470
470
}
471
471
472
- return dasBlogSettings . SiteConfiguration . SmtpFromEmail . Trim ( ) ;
472
+ return dasBlogSettings . SiteConfiguration . SmtpFromEmail ? . Trim ( ) ;
473
473
}
474
474
public bool SendTestEmail ( )
475
475
{
Original file line number Diff line number Diff line change 20
20
21
21
<div class =" container-fluid" id =" wrapper" >
22
22
<div class =" row" >
23
- <nav class =" sidebar col-xs-12 col-sm-4 col-lg-3 col-xl-2" >
23
+ <nav class =" sidebar col-xs-12 col-sm-4 col-lg-3 col-xl-2 bg-faded sidebar-style-1 " >
24
24
25
25
<a href =" #menu-toggle" class =" btn btn-default" id =" menu-toggle" ><em class =" fa fa-bars" ></em ></a >
26
26
<ul class =" nav nav-pills flex-column sidebar-nav" >
37
37
<a dasblog-unauthorized class =" logout-button" asp-controller =" account" asp-action =" login" ><em class =" fa fa-power-off" ></em >Signin</a >
38
38
<a dasblog-authorized class =" logout-button" asp-controller =" account" asp-action =" logout" ><em class =" fa fa-power-off" ></em >Signout</a >
39
39
</nav >
40
- <main class =" col-xs-12 col-sm-8 col-lg-9 col-xl-10 pt-3 pl-4 ml-auto" >
40
+
41
+ <main class =" col-xs-12 col-sm-8 offset-sm-4 col-lg-9 offset-lg-3 col-xl-10 offset-xl-2 pt-3 pl-4" >
41
42
<header class =" page-header row justify-center" >
42
43
<div class =" col-md-6 col-lg-8" >
43
44
<h1 class =" site-title" > <site-title-link css =" fa fa-rocket" /> </h1 >
Original file line number Diff line number Diff line change 1
1
@model ListPostsViewModel
2
2
3
3
4
- @if (Model .Posts .Count > 0 )
4
+ @if (Model ? .Posts ? .Count > 0 )
5
5
{
6
6
foreach (var post in Model .Posts )
7
7
{
Original file line number Diff line number Diff line change 1
1
@model ListPostsViewModel
2
2
3
3
4
- @if (Model .Posts .Count > 0 )
4
+ @if (Model ? .Posts ? .Count > 0 )
5
5
{
6
6
int order = 0 ;
7
7
You can’t perform that action at this time.
0 commit comments