Skip to content

Commit

Permalink
Fix for #88
Browse files Browse the repository at this point in the history
  • Loading branch information
rickbutterfield committed Jan 26, 2025
1 parent 942500e commit e72d2c0
Show file tree
Hide file tree
Showing 17 changed files with 193 additions and 446 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage<Umbraco.Cms.Core.Models.Blocks.BlockGridItem<HeroBlock>>
@inherits UmbracoViewPage<BlockGridItem<HeroBlock, BlockSettings>>
@{
var backgroundColor = Model.Content.BackgroundColor;
var image = Model.Content.Image;
Expand All @@ -7,6 +7,7 @@

<pre>Dropdown: @Model.Content.Height</pre>
<pre>Content Picker: @Model.Content.ContentPicker?.Name (@Model.Content.ContentPicker?.Url())</pre>
<pre>Settings Dropdown: @Model.Settings?.Dropdown</pre>

<div
class="hero"
Expand Down
42 changes: 40 additions & 2 deletions src/Umbraco.Cms.15.x/uSync/v15/Content/home.config
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,22 @@
"label": "ffffff",
"value": "#ffffff"
}
},
{
"alias": "contentPicker",
"culture": null,
"editorAlias": null,
"segment": null,
"value": "umb://document/6e2ff1f7114e484ba407918daded1aa6"
},
{
"alias": "height",
"culture": null,
"editorAlias": null,
"segment": null,
"value": [
"150"
]
}
]
},
Expand Down Expand Up @@ -715,6 +731,28 @@
}
}
]
},
{
"contentTypeKey": "cb6adf93-9c01-476c-970b-7469474db5b4",
"key": "ac23ef75-48f0-4d56-b81c-ed6956695d06",
"udi": null,
"values": [
{
"alias": "dropdown",
"culture": null,
"editorAlias": null,
"segment": null,
"value": [
"100"
]
}
]
},
{
"contentTypeKey": "cb6adf93-9c01-476c-970b-7469474db5b4",
"key": "572d10a6-2bbb-4524-ba6e-d047c84ae620",
"udi": null,
"values": []
}
],
"expose": [
Expand Down Expand Up @@ -892,7 +930,7 @@
"contentKey": "b41a910e-274a-43b9-be02-66aa5a7efafe",
"contentUdi": null,
"rowSpan": 1,
"settingsKey": null,
"settingsKey": "ac23ef75-48f0-4d56-b81c-ed6956695d06",
"settingsUdi": null
},
{
Expand Down Expand Up @@ -1221,7 +1259,7 @@
"contentKey": "dddae8d8-5034-4ab2-8a90-e6c15a60e657",
"contentUdi": null,
"rowSpan": 1,
"settingsKey": null,
"settingsKey": "572d10a6-2bbb-4524-ba6e-d047c84ae620",
"settingsUdi": null
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,37 @@
"label": "113635",
"value": "#113635"
}
},
{
"alias": "height",
"culture": null,
"editorAlias": null,
"segment": null,
"value": [
"150"
]
}
]
}
],
"settingsData": [
{
"contentTypeKey": "cb6adf93-9c01-476c-970b-7469474db5b4",
"key": "847d6da8-d847-42d8-9d9a-39398931c361",
"udi": null,
"values": [
{
"alias": "dropdown",
"culture": null,
"editorAlias": null,
"segment": null,
"value": [
"200"
]
}
]
}
],
"settingsData": [],
"expose": [
{
"contentKey": "b9f61237-fbb9-4425-97c9-1bb67fb71451",
Expand All @@ -106,7 +132,7 @@
"contentKey": "b9f61237-fbb9-4425-97c9-1bb67fb71451",
"contentUdi": null,
"rowSpan": 1,
"settingsKey": null,
"settingsKey": "847d6da8-d847-42d8-9d9a-39398931c361",
"settingsUdi": null
}
]
Expand Down
121 changes: 0 additions & 121 deletions src/Umbraco.Cms.15.x/uSync/v15/Content/test-1.config

This file was deleted.

114 changes: 0 additions & 114 deletions src/Umbraco.Cms.15.x/uSync/v15/Content/test.config

This file was deleted.

Loading

0 comments on commit e72d2c0

Please sign in to comment.