Skip to content

Commit

Permalink
refactor: rename test site
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdcdev committed Nov 12, 2024
1 parent 8ef41c0 commit cd4c020
Show file tree
Hide file tree
Showing 108 changed files with 27 additions and 9 deletions.
5 changes: 0 additions & 5 deletions src/TestSite/Views/contentPage.cshtml

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Microsoft.AspNetCore.Builder;
using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Extensions;

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@inherits UmbracoViewPage<Umbraco.Cms.Core.Models.Blocks.BlockGridItem<ContentPicker>>

@{
var content = Model.Content.RelatedContent;
if (content == null)
{
return;
}

var title = content.Name;
var url = content.Url();
}

<div class="card">
<div class="card-title">
<span>@title</span>
</div>
<div>
<a href="@url" class="btn btn-primary">Read more</a>
</div>
</div>
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
@using Umbraco.Cms.Core.Models.PublishedContent
@using Microsoft.AspNetCore.Html

@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage
@{
Layout = null;
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>TestSite</RootNamespace>
</PropertyGroup>

<ItemGroup>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/jcdcdev.Umbraco.RelationsManager.sln
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Github", "Github", "{5830A8
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "jcdcdev.Umbraco.RelationsManager", "jcdcdev.Umbraco.RelationsManager\jcdcdev.Umbraco.RelationsManager.csproj", "{2060F159-0A7B-4484-A6C2-1995A3EF19B4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSite", "TestSite\TestSite.csproj", "{717C9B20-7EA6-46ED-BF1E-F265DD075549}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "jcdcdev.Umbraco.RelationsManager.TestSite", "jcdcdev.Umbraco.RelationsManager.TestSite\jcdcdev.Umbraco.RelationsManager.TestSite.csproj", "{717C9B20-7EA6-46ED-BF1E-F265DD075549}"
EndProject

0 comments on commit cd4c020

Please sign in to comment.