Skip to content

Commit

Permalink
Merge pull request #19173 from abpframework/EngincanV/cms-dummy-place…
Browse files Browse the repository at this point in the history
…holder

cms-kit: Dummy placeholders should be stored as embedded resources.
  • Loading branch information
enisn committed Feb 29, 2024
2 parents 0c7cda1 + 89b1103 commit 11eeb17
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@inject ICurrentUser CurrentUser

@{
string dummyImageSource = "https://dummyimage.com/1280x720/a3a3a3/fff.png?text=" + Model.ViewModel.Title;
const string dummyImageSource = "/cms-kit/dummy-placeholder-1280x720.png";
var isScrollIndexEnabled = GlobalFeatureManager.Instance.IsEnabled<BlogPostScrollIndexFeature>() && Model.BlogPostScrollIndexFeature?.IsEnabled == true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}

@{
const string dummyImageSource = "https://dummyimage.com/320x180/a3a3a3/fff.png";
const string dummyImageSource = "/cms-kit/dummy-placeholder-320x180.png";
}

@if (Model.AuthorId.HasValue)
Expand Down

0 comments on commit 11eeb17

Please sign in to comment.