diff --git a/.gitignore b/.gitignore index 3f5524f..8a3d85c 100644 --- a/.gitignore +++ b/.gitignore @@ -29,8 +29,8 @@ bld/ [Oo]bj/ [Ll]og/ [Ll]ogs/ -src-old/App_Plugins -src-old/App_Plugins/** +src/Our.Umbraco.BlockPreview/App_Plugins +src/Our.Umbraco.BlockPreview/App_Plugins/** # Visual Studio 2015/2017 cache/options directory .vs/ diff --git a/README.md b/README.md index 95f3f83..6bf89c9 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,13 @@ The Umbraco 10.4+ version of this package is [available via NuGet](https://www.n To install the package, you can use either .NET CLI: ``` -dotnet add package Umbraco.Community.BlockPreview --version 1.3.1 +dotnet add package Umbraco.Community.BlockPreview --version 1.4.0 ``` or the older NuGet Package Manager: ``` -Install-Package Umbraco.Community.BlockPreview -Version 1.3.1 +Install-Package Umbraco.Community.BlockPreview -Version 1.4.0 ``` ## Setup diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..e21e727 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +1.4.0 \ No newline at end of file diff --git a/build/release.bat b/build/release.bat index 1bc1203..49b3d56 100644 --- a/build/release.bat +++ b/build/release.bat @@ -1,3 +1,3 @@ @echo off -dotnet build ../src/Umbraco.Community.BlockPreview.csproj --configuration Release /t:rebuild /t:pack -p:PackageOutputPath=../releases/nuget -dotnet build ../src-old/Our.Umbraco.BlockPreview.csproj --configuration Release /t:rebuild /t:pack -p:PackageOutputPath=../releases/nuget \ No newline at end of file +dotnet build ../src/Umbraco.Community.BlockPreview/Umbraco.Community.BlockPreview.csproj --configuration Release /t:rebuild /t:pack -p:PackageOutputPath=../../releases/nuget +dotnet build ../src/Our.Umbraco.BlockPreview/Our.Umbraco.BlockPreview.csproj --configuration Release /t:rebuild /t:pack -p:PackageOutputPath=../../releases/nuget \ No newline at end of file diff --git a/build/release.sh b/build/release.sh index 1bc1203..49b3d56 100644 --- a/build/release.sh +++ b/build/release.sh @@ -1,3 +1,3 @@ @echo off -dotnet build ../src/Umbraco.Community.BlockPreview.csproj --configuration Release /t:rebuild /t:pack -p:PackageOutputPath=../releases/nuget -dotnet build ../src-old/Our.Umbraco.BlockPreview.csproj --configuration Release /t:rebuild /t:pack -p:PackageOutputPath=../releases/nuget \ No newline at end of file +dotnet build ../src/Umbraco.Community.BlockPreview/Umbraco.Community.BlockPreview.csproj --configuration Release /t:rebuild /t:pack -p:PackageOutputPath=../../releases/nuget +dotnet build ../src/Our.Umbraco.BlockPreview/Our.Umbraco.BlockPreview.csproj --configuration Release /t:rebuild /t:pack -p:PackageOutputPath=../../releases/nuget \ No newline at end of file diff --git a/releases/nuget/Our.Umbraco.BlockPreview.1.3.1.nupkg b/releases/nuget/Our.Umbraco.BlockPreview.1.3.1.nupkg index d65fd13..c5c296a 100644 Binary files a/releases/nuget/Our.Umbraco.BlockPreview.1.3.1.nupkg and b/releases/nuget/Our.Umbraco.BlockPreview.1.3.1.nupkg differ diff --git a/releases/nuget/Umbraco.Community.BlockPreview.1.4.0.nupkg b/releases/nuget/Umbraco.Community.BlockPreview.1.4.0.nupkg new file mode 100644 index 0000000..88b18f6 Binary files /dev/null and b/releases/nuget/Umbraco.Community.BlockPreview.1.4.0.nupkg differ diff --git a/src/App_Plugins/Umbraco.Community.BlockPreview/views/block-preview.html b/src/App_Plugins/Umbraco.Community.BlockPreview/views/block-preview.html deleted file mode 100644 index 85c5ff1..0000000 --- a/src/App_Plugins/Umbraco.Community.BlockPreview/views/block-preview.html +++ /dev/null @@ -1,8 +0,0 @@ -
Missing image
+ } + } +Missing image
+ } +} diff --git a/src/Umbraco.Cms.11.x/Views/Partials/blockgrid/Components/inspirationBlock.cshtml b/src/Umbraco.Cms.11.x/Views/Partials/blockgrid/Components/inspirationBlock.cshtml new file mode 100644 index 0000000..8f7e372 --- /dev/null +++ b/src/Umbraco.Cms.11.x/Views/Partials/blockgrid/Components/inspirationBlock.cshtml @@ -0,0 +1,24 @@ +@using Umbraco.Extensions; +@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage
+ Could not render component of type: @(item.Content.ContentType.Alias)
+
+ This likely happened because the partial view @partialViewName could not be found.
+
@ex.ToString()+} + +@functions{ + + public static string EditorView(dynamic contentItem) + { + string view = contentItem.editor.render != null ? contentItem.editor.render.ToString() : contentItem.editor.view.ToString(); + view = view.Replace(".html", ".cshtml"); + + if (!view.Contains("/")) + { + view = "grid/editors/" + view; + } + + return view; + } +} diff --git a/src/Umbraco.Cms.11.x/Views/Partials/grid/editors/embed.cshtml b/src/Umbraco.Cms.11.x/Views/Partials/grid/editors/embed.cshtml new file mode 100644 index 0000000..74c8fe2 --- /dev/null +++ b/src/Umbraco.Cms.11.x/Views/Partials/grid/editors/embed.cshtml @@ -0,0 +1,11 @@ +@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage
What you can do to help reduce your carbon footprint depends on where you live, the resources you have, and how much time you can give. If you want to do something about global warming, however, then simple changes can have a big impact. Here are some straightforward solutions that you can implement right away:
\nEat less (or no) meat. Going vegetarian has the same impact on reducing greenhouse gas emissions as if you trade in a regular car for a hybrid. The process of making a pound of commercial meat uses ten times more energy than making a pound of beans or grains.
\nHook your home up to clean energy. If you can’t afford to install solar panels or wind turbines on your roof, you can tap into an independent clean energy supplier. Let them build the wind turbine, and you reap the benefits. This step reduces your own emissions and helps build the renewable energy industry.
\nInsulate your house. The average home has the equivalent of a basketball-sized hole in the side of its wall. That’s how much heating and cooling you can keep from escaping if you properly insulate your home’s ceilings, walls, windows, and doors.
\nTravel smart. Reducing the number of flights you take in a year has a huge impact. One long-haul flight can be enough to double your impact on climate change, so think twice before taking that long trip. Whenever possible, take the train or bus. Minimize your driving by carpooling, walking, biking, or taking public transit.
\nUse only the energy you need. Develop energy-saving habits — turn off the lights and TV when you leave the room, and turn down your thermostats when the house is empty in winter, and up in summer. Choose low-energy technologies by looking for the ENERGY STAR or Energy Savings logos on all appliances, electronics, computers, and more. These qualification standards highlight products that use the least energy.
" + }, + { + "contentTypeKey": "e7cd2fff-36b9-4853-9a29-5afe4c1c47bb", + "udi": "umb://element/5572afb2ccc74433911fb208c59cf256" + }, + { + "contentTypeKey": "e91cd36f-4bdf-4c74-90bf-b2c85fd00dae", + "udi": "umb://element/f92e56bd758649228727563a19e03fbc", + "image": "[\r\n {\r\n \"key\": \"b100279e-83bc-4d85-9701-384ceae63865\",\r\n \"mediaKey\": \"0adf4aaf-9738-4c8c-970d-5e4bf1fc9707\"\r\n }\r\n]" + }, + { + "contentTypeKey": "62351bd5-75fc-4d93-a6b2-b99439a9161f", + "udi": "umb://element/c06bb715ddfc4bf3858229ebce5bddfd", + "headline": "Energy usage" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/ddf2400ecb0942dab46a863b28e8c190", + "richText": "Humans derive energy from burning fossil fuels, which releases almost three quarters of all human-produced greenhouse gases into the atmosphere. Half of all fossil fuels are burned to provide electricity and heat; the next big users of fossil fuels are manufacturing and transportation.
" + }, + { + "contentTypeKey": "1d05aa7a-16bd-4f3f-b094-023fd0bf0332", + "udi": "umb://element/939d9aa00101481986110f27aed97c5c", + "link": "[{\"name\":\"Find your solution\",\"target\":\"\",\"udi\":\"umb://document/6ac5363ad8124ce9aa893a3973426c70\"}]" + }, + { + "contentTypeKey": "e7cd2fff-36b9-4853-9a29-5afe4c1c47bb", + "udi": "umb://element/82a9e6a51c284e4c929759021871d495" + }, + { + "contentTypeKey": "e91cd36f-4bdf-4c74-90bf-b2c85fd00dae", + "udi": "umb://element/a60f6ce454bd490eb349f8e2b1ae806e", + "image": "[\r\n {\r\n \"key\": \"be4c4bb3-8c48-4403-8f75-be1a8b8c74de\",\r\n \"mediaKey\": \"fbb3c9cb-f708-4106-8588-f7e99ebf0d8d\"\r\n }\r\n]" + }, + { + "contentTypeKey": "62351bd5-75fc-4d93-a6b2-b99439a9161f", + "udi": "umb://element/5e5974a3716c4f1fb3f24a6401289249", + "headline": "Renewable energy" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/7f1a610ac1da4143a5158bcd9483fd2b", + "richText": "The phrase “global warming” hasn’t been around long, but climate change, as it’s also known, is nothing new. In fact, it has been a constant throughout history. Earth’s climate today is very different from what it was 2 million years ago, let alone 10,000 years ago.
" + }, + { + "contentTypeKey": "1d05aa7a-16bd-4f3f-b094-023fd0bf0332", + "udi": "umb://element/4bd258d683cd45478991f7ae8c4b1faa", + "link": "[{\"name\":\"Get inspired today\",\"target\":\"\",\"udi\":\"umb://document/6ac5363ad8124ce9aa893a3973426c70\"}]" + }, + { + "contentTypeKey": "e7cd2fff-36b9-4853-9a29-5afe4c1c47bb", + "udi": "umb://element/87c966fc4ade4261b03ed5e0191677dc" + }, + { + "contentTypeKey": "e91cd36f-4bdf-4c74-90bf-b2c85fd00dae", + "udi": "umb://element/890066c8df5c4323bcd7abe3185e3046", + "image": "[\r\n {\r\n \"key\": \"b4dda200-1e4a-46f7-9cac-7e934703cdba\",\r\n \"mediaKey\": \"76e87651-7962-4c73-ae6b-684921a81c1e\"\r\n }\r\n]" + }, + { + "contentTypeKey": "62351bd5-75fc-4d93-a6b2-b99439a9161f", + "udi": "umb://element/abbd585a19da4a53a380843399f6913d", + "headline": "Emerging use of technologies" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/bb3875a42a3243c88820f39f31668bfc", + "richText": "Humans derive energy from burning fossil fuels, which releases almost three quarters of all human-produced greenhouse gases into the atmosphere. Half of all fossil fuels are burned to provide electricity and heat; the next big users of fossil fuels are manufacturing and transportation.
" + }, + { + "contentTypeKey": "1d05aa7a-16bd-4f3f-b094-023fd0bf0332", + "udi": "umb://element/d13498b835094994bfe943b2e91c74e6", + "link": "[{\"name\":\"Solutions for life\",\"udi\":\"umb://document/6ac5363ad8124ce9aa893a3973426c70\"}]" + }, + { + "contentTypeKey": "964feee4-efb3-4676-91a0-b960f26e9d92", + "udi": "umb://element/51e5a28718704b8fb58319c4d1cbabe9" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/4c3ac78ea12d454fab3d3441fd066d5b", + "richText": "What you can do to help reduce your carbon footprint depends on where you live, the resources you have, and how much time you can give. If you want to do something about global warming, however, then simple changes can have a big impact. Here are some straightforward solutions that you can implement right away:
\nEat less (or no) meat. Going vegetarian has the same impact on reducing greenhouse gas emissions as if you trade in a regular car for a hybrid. The process of making a pound of commercial meat uses ten times more energy than making a pound of beans or grains.
\nHook your home up to clean energy. If you can’t afford to install solar panels or wind turbines on your roof, you can tap into an independent clean energy supplier. Let them build the wind turbine, and you reap the benefits. This step reduces your own emissions and helps build the renewable energy industry.
\nInsulate your house. The average home has the equivalent of a basketball-sized hole in the side of its wall. That’s how much heating and cooling you can keep from escaping if you properly insulate your home’s ceilings, walls, windows, and doors.
\nTravel smart. Reducing the number of flights you take in a year has a huge impact. One long-haul flight can be enough to double your impact on climate change, so think twice before taking that long trip. Whenever possible, take the train or bus. Minimize your driving by carpooling, walking, biking, or taking public transit.
\nUse only the energy you need. Develop energy-saving habits — turn off the lights and TV when you leave the room, and turn down your thermostats when the house is empty in winter, and up in summer. Choose low-energy technologies by looking for the ENERGY STAR or Energy Savings logos on all appliances, electronics, computers, and more. These qualification standards highlight products that use the least energy.
" + }, + { + "contentTypeKey": "054fd67a-a72d-4044-8226-11abeab7937d", + "udi": "umb://element/e92e509297e5423fa56967f44ca4df5c" + }, + { + "contentTypeKey": "e91cd36f-4bdf-4c74-90bf-b2c85fd00dae", + "udi": "umb://element/18b0960c746f43e39bbfaefd858f55c7", + "image": "[\r\n {\r\n \"key\": \"c21ddb33-b3fd-4b38-82b6-a171c2e39f9a\",\r\n \"mediaKey\": \"cb4659fc-57b1-449a-a64c-6545e8495883\"\r\n }\r\n]" + }, + { + "contentTypeKey": "1d05aa7a-16bd-4f3f-b094-023fd0bf0332", + "udi": "umb://element/9d55fa3e437f465b97e83d4d504e8f99", + "link": "[{\"name\":\"Get creative now\",\"udi\":\"umb://document/6ac5363ad8124ce9aa893a3973426c70\"}]" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/1ccc80cff546483cb26f583a4b73a2e9", + "richText": "Greenhouse gases are carbon dioxide and methane which contribute to global warming and climate change. We need to talk about what we can do on a personal level to make changes in our own lives so we can find creative ways to reduce our carbon footprint.
" + }, + { + "contentTypeKey": "e91cd36f-4bdf-4c74-90bf-b2c85fd00dae", + "udi": "umb://element/d8fc805b103e4f5c9e52930182fe1ec9", + "image": "[\r\n {\r\n \"key\": \"7226feaf-0348-4899-bfa8-944a2c1738a3\",\r\n \"mediaKey\": \"a406a55f-7122-4822-9fbb-95ae9f6bc39b\"\r\n }\r\n]" + }, + { + "contentTypeKey": "1d05aa7a-16bd-4f3f-b094-023fd0bf0332", + "udi": "umb://element/f61f0278863441c8b39f25e9c0b70021", + "link": "[{\"name\":\"See our solutions\",\"udi\":\"umb://document/6ac5363ad8124ce9aa893a3973426c70\"}]" + } + ], + "settingsData": [ + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/b72dcda2c9d54b5facd8fa220a9ffc34", + "backgroundColor": "{\r\n \"value\": \"f4f1ec\",\r\n \"label\": \"f4f1ec\",\r\n \"sortOrder\": 3,\r\n \"id\": \"4\"\r\n}" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/7d274fd111544a23b86d8fbe4af3cafe" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/1a34b67fa68947599153b59022917a7e" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/ee9077a4a06f4eb48351f3d3aebe01fb" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/bc9c7e522c264cb78f6b89700b54f103" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/aa9fca1883294a8cba19b6a8b02ef410" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/78cb82c0711b4a2a9604796a24466634", + "backgroundColor": "{\r\n \"value\": \"113635\",\r\n \"label\": \"113635\",\r\n \"sortOrder\": 7,\r\n \"id\": \"8\"\r\n}", + "contrast": "{\r\n \"value\": \"ffffff\",\r\n \"label\": \"ffffff\",\r\n \"sortOrder\": 1,\r\n \"id\": \"2\"\r\n}" + } + ] +}]]>What you can do to help reduce your carbon footprint depends on where you live, the resources you have, and how much time you can give. If you want to do something about global warming, however, then simple changes can have a big impact.
" + }, + { + "contentTypeKey": "56a73241-9dbd-46aa-a1ff-3d24ae2b6a33", + "udi": "umb://element/f9287d8ba41743aea1015738afd362f0", + "image": "[\r\n {\r\n \"key\": \"b78be6c0-f0bd-400b-8412-2773b86dbbed\",\r\n \"mediaKey\": \"0d47b9c5-a0e1-474f-a867-e59c592e417f\"\r\n }\r\n]", + "headline": "Innovative indoor climate solution", + "richText": "Keep your organization sustainable with a green agenda.
" + }, + { + "contentTypeKey": "56a73241-9dbd-46aa-a1ff-3d24ae2b6a33", + "udi": "umb://element/4a0f761f824a4bae91866dfc557acf73", + "image": "[\r\n {\r\n \"key\": \"b0a2a241-e24d-4c37-9f62-108c22863d71\",\r\n \"mediaKey\": \"591f607c-6a13-4773-a868-76db1148ffb0\"\r\n }\r\n]", + "headline": "Green production transition", + "richText": "Analysis and facilitation, Use a combination of the two and implement them.
" + }, + { + "contentTypeKey": "56a73241-9dbd-46aa-a1ff-3d24ae2b6a33", + "udi": "umb://element/faddecf8aa3a4b299bc6c7bf611d4d27", + "image": "[\r\n {\r\n \"key\": \"f294e7ef-fd7f-4e30-84dc-9346d329b33e\",\r\n \"mediaKey\": \"87b7776d-f21b-4dda-8325-87b4d004dceb\"\r\n }\r\n]", + "headline": "Analysis & evaluation", + "richText": "We provide a platform of knowledge, so you can use that knowledge for branding and marketing.
" + }, + { + "contentTypeKey": "56a73241-9dbd-46aa-a1ff-3d24ae2b6a33", + "udi": "umb://element/329bb5128b3e4a59a103079ddc500dad", + "image": "[\r\n {\r\n \"key\": \"bf356e7a-8b59-4963-8dc8-f6284870cde4\",\r\n \"mediaKey\": \"76e87651-7962-4c73-ae6b-684921a81c1e\"\r\n }\r\n]", + "headline": "Optimisation & implementation", + "richText": "You can use that knowledge for branding and marketing.
" + }, + { + "contentTypeKey": "56a73241-9dbd-46aa-a1ff-3d24ae2b6a33", + "udi": "umb://element/3ee573f93eda4f0c80d6c52544837967", + "image": "[\r\n {\r\n \"key\": \"70f31be4-6bcf-425e-a49d-1fee2fedd81d\",\r\n \"mediaKey\": \"a406a55f-7122-4822-9fbb-95ae9f6bc39b\"\r\n }\r\n]", + "headline": "The transition to green production", + "richText": "Use a combination of analysis and facilitation, we help you make the right decisions and implement them.
" + }, + { + "contentTypeKey": "56a73241-9dbd-46aa-a1ff-3d24ae2b6a33", + "udi": "umb://element/9cee4fda73314d97b33c507a038c2c2f", + "image": "[\r\n {\r\n \"key\": \"c1934b6f-077c-4677-847b-a6df6d9f5394\",\r\n \"mediaKey\": \"91f42a8e-6bdd-48ba-9e51-cc4e4540ffad\"\r\n }\r\n]", + "headline": "Environmental footprint", + "richText": "Creating sustainable product innovation is an important parameter
" + }, + { + "contentTypeKey": "56a73241-9dbd-46aa-a1ff-3d24ae2b6a33", + "udi": "umb://element/e6b7a7bb31a84ce8a67a97b990b7b367", + "image": "[\r\n {\r\n \"key\": \"7f9a190e-c4ed-4c2a-86b8-48a4454eed23\",\r\n \"mediaKey\": \"0ce0babd-8047-48a0-bcc3-a2d1bf7cc7aa\"\r\n }\r\n]", + "headline": "Carbon dioxide", + "richText": "Chemical compound made up of molecules that each have one carbon atom covalently double bonded to two oxygen atoms
" + }, + { + "contentTypeKey": "964feee4-efb3-4676-91a0-b960f26e9d92", + "udi": "umb://element/a4b6a642bffc4f349232c056b84b2cd1" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/e5ab4ac7ce1843528aca261576a88536", + "richText": "What you can do to help reduce your carbon footprint depends on where you live, the resources you have, and how much time you can give. If you want to do something about global warming, however, then simple changes can have a big impact. Here are some straightforward solutions that you can implement right away:
\nEat less (or no) meat. Going vegetarian has the same impact on reducing greenhouse gas emissions as if you trade in a regular car for a hybrid. The process of making a pound of commercial meat uses ten times more energy than making a pound of beans or grains.
\nHook your home up to clean energy. If you can’t afford to install solar panels or wind turbines on your roof, you can tap into an independent clean energy supplier. Let them build the wind turbine, and you reap the benefits. This step reduces your own emissions and helps build the renewable energy industry.
\nInsulate your house. The average home has the equivalent of a basketball-sized hole in the side of its wall. That’s how much heating and cooling you can keep from escaping if you properly insulate your home’s ceilings, walls, windows, and doors.
\nTravel smart. Reducing the number of flights you take in a year has a huge impact. One long-haul flight can be enough to double your impact on climate change, so think twice before taking that long trip. Whenever possible, take the train or bus. Minimize your driving by carpooling, walking, biking, or taking public transit.
\nUse only the energy you need. Develop energy-saving habits — turn off the lights and TV when you leave the room, and turn down your thermostats when the house is empty in winter, and up in summer. Choose low-energy technologies by looking for the ENERGY STAR or Energy Savings logos on all appliances, electronics, computers, and more. These qualification standards highlight products that use the least energy.
" + }, + { + "contentTypeKey": "e7cd2fff-36b9-4853-9a29-5afe4c1c47bb", + "udi": "umb://element/2cfc183497714d27a938ea4f369e8aa8" + }, + { + "contentTypeKey": "e91cd36f-4bdf-4c74-90bf-b2c85fd00dae", + "udi": "umb://element/14868939c7f3496f90fda4f7bfe1ed97", + "image": "[\r\n {\r\n \"key\": \"003e5cc1-70f9-4f45-9081-037125e80eea\",\r\n \"mediaKey\": \"8d71873a-4a79-41d9-817d-4e60fea33792\"\r\n }\r\n]" + }, + { + "contentTypeKey": "62351bd5-75fc-4d93-a6b2-b99439a9161f", + "udi": "umb://element/aa4fceaf479148b781eaae21d68978b0", + "headline": "Conserve our natural resources" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/7a66fc6c7a794e4c8049f68f95f0e3eb", + "richText": "Humans derive energy from burning fossil fuels, which releases almost three quarters of all human-produced greenhouse gases into the atmosphere. Half of all fossil fuels are burned to provide electricity and heat; the next big users of fossil fuels are manufacturing and transportation.
" + }, + { + "contentTypeKey": "1d05aa7a-16bd-4f3f-b094-023fd0bf0332", + "udi": "umb://element/6a19709c18334c93a4e2a515d8e8ff4a", + "link": "[{\"name\":\"Learn more\",\"udi\":\"umb://document/6e2ff1f7114e484ba407918daded1aa6\"}]" + }, + { + "contentTypeKey": "e7cd2fff-36b9-4853-9a29-5afe4c1c47bb", + "udi": "umb://element/7c7030a693014cda8d64a6803172ba2d" + }, + { + "contentTypeKey": "e91cd36f-4bdf-4c74-90bf-b2c85fd00dae", + "udi": "umb://element/9738df7d64814b28ae25a231e4a7d4c7", + "image": "[\r\n {\r\n \"key\": \"232198b5-a5dc-4d14-9684-e401185604f4\",\r\n \"mediaKey\": \"43933cb4-0d29-412e-8e89-25ae76274b05\"\r\n }\r\n]" + }, + { + "contentTypeKey": "62351bd5-75fc-4d93-a6b2-b99439a9161f", + "udi": "umb://element/e013c27b47e3466db4dae0494f6a4e3f", + "headline": "A bright future for renewable energy" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/7a53ce3b088e4e1cad67f5ca05d02540", + "richText": "The phrase “global warming” hasn’t been around long, but climate change, as it’s also known, is nothing new. In fact, it has been a constant throughout history. Earth’s climate today is very different from what it was 2 million years ago, let alone 10,000 years ago.
" + }, + { + "contentTypeKey": "1d05aa7a-16bd-4f3f-b094-023fd0bf0332", + "udi": "umb://element/6ba7dafc14ed4742891dfbcad44d93e1", + "link": "[{\"name\":\"Explorer\",\"udi\":\"umb://document/6e2ff1f7114e484ba407918daded1aa6\"}]" + } + ], + "settingsData": [ + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/398a058e2e8846339e9013ebfa4517b7", + "backgroundColor": "{\r\n \"value\": \"f4f1ec\",\r\n \"label\": \"f4f1ec\",\r\n \"sortOrder\": 3,\r\n \"id\": \"4\"\r\n}" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/1b30c4ca55ed45e2af4acf70b0ad3bc6", + "backgroundColor": "" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/dc8ab3910a404ea0939999643f43cfa2", + "backgroundColor": "{\r\n \"value\": \"c97990\",\r\n \"label\": \"c97990\",\r\n \"sortOrder\": 1,\r\n \"id\": \"2\"\r\n}", + "contrast": "{\r\n \"value\": \"ffffff\",\r\n \"label\": \"ffffff\",\r\n \"sortOrder\": 1,\r\n \"id\": \"2\"\r\n}" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/c55b4bb7d02e43c39dfb252e04fb0acd", + "backgroundColor": "" + } + ] +}]]>Missing image
+ } + } +Missing image
+ } +} diff --git a/src/Umbraco.Cms.12.x/Views/Partials/blockgrid/Components/inspirationBlock.cshtml b/src/Umbraco.Cms.12.x/Views/Partials/blockgrid/Components/inspirationBlock.cshtml new file mode 100644 index 0000000..8f7e372 --- /dev/null +++ b/src/Umbraco.Cms.12.x/Views/Partials/blockgrid/Components/inspirationBlock.cshtml @@ -0,0 +1,24 @@ +@using Umbraco.Extensions; +@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage
+ Could not render component of type: @(item.Content.ContentType.Alias)
+
+ This likely happened because the partial view @partialViewName could not be found.
+
@ex.ToString()+} + +@functions{ + + public static string EditorView(dynamic contentItem) + { + string view = contentItem.editor.render != null ? contentItem.editor.render.ToString() : contentItem.editor.view.ToString(); + view = view.Replace(".html", ".cshtml"); + + if (!view.Contains("/")) + { + view = "grid/editors/" + view; + } + + return view; + } +} diff --git a/src/Umbraco.Cms.12.x/Views/Partials/grid/editors/embed.cshtml b/src/Umbraco.Cms.12.x/Views/Partials/grid/editors/embed.cshtml new file mode 100644 index 0000000..74c8fe2 --- /dev/null +++ b/src/Umbraco.Cms.12.x/Views/Partials/grid/editors/embed.cshtml @@ -0,0 +1,11 @@ +@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage
What you can do to help reduce your carbon footprint depends on where you live, the resources you have, and how much time you can give. If you want to do something about global warming, however, then simple changes can have a big impact. Here are some straightforward solutions that you can implement right away:
\nEat less (or no) meat. Going vegetarian has the same impact on reducing greenhouse gas emissions as if you trade in a regular car for a hybrid. The process of making a pound of commercial meat uses ten times more energy than making a pound of beans or grains.
\nHook your home up to clean energy. If you can’t afford to install solar panels or wind turbines on your roof, you can tap into an independent clean energy supplier. Let them build the wind turbine, and you reap the benefits. This step reduces your own emissions and helps build the renewable energy industry.
\nInsulate your house. The average home has the equivalent of a basketball-sized hole in the side of its wall. That’s how much heating and cooling you can keep from escaping if you properly insulate your home’s ceilings, walls, windows, and doors.
\nTravel smart. Reducing the number of flights you take in a year has a huge impact. One long-haul flight can be enough to double your impact on climate change, so think twice before taking that long trip. Whenever possible, take the train or bus. Minimize your driving by carpooling, walking, biking, or taking public transit.
\nUse only the energy you need. Develop energy-saving habits — turn off the lights and TV when you leave the room, and turn down your thermostats when the house is empty in winter, and up in summer. Choose low-energy technologies by looking for the ENERGY STAR or Energy Savings logos on all appliances, electronics, computers, and more. These qualification standards highlight products that use the least energy.
" + }, + { + "contentTypeKey": "e7cd2fff-36b9-4853-9a29-5afe4c1c47bb", + "udi": "umb://element/5572afb2ccc74433911fb208c59cf256" + }, + { + "contentTypeKey": "e91cd36f-4bdf-4c74-90bf-b2c85fd00dae", + "udi": "umb://element/f92e56bd758649228727563a19e03fbc", + "image": "[\r\n {\r\n \"key\": \"b100279e-83bc-4d85-9701-384ceae63865\",\r\n \"mediaKey\": \"0adf4aaf-9738-4c8c-970d-5e4bf1fc9707\"\r\n }\r\n]" + }, + { + "contentTypeKey": "62351bd5-75fc-4d93-a6b2-b99439a9161f", + "udi": "umb://element/c06bb715ddfc4bf3858229ebce5bddfd", + "headline": "Energy usage" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/ddf2400ecb0942dab46a863b28e8c190", + "richText": "Humans derive energy from burning fossil fuels, which releases almost three quarters of all human-produced greenhouse gases into the atmosphere. Half of all fossil fuels are burned to provide electricity and heat; the next big users of fossil fuels are manufacturing and transportation.
" + }, + { + "contentTypeKey": "1d05aa7a-16bd-4f3f-b094-023fd0bf0332", + "udi": "umb://element/939d9aa00101481986110f27aed97c5c", + "link": "[{\"name\":\"Find your solution\",\"target\":\"\",\"udi\":\"umb://document/6ac5363ad8124ce9aa893a3973426c70\"}]" + }, + { + "contentTypeKey": "e7cd2fff-36b9-4853-9a29-5afe4c1c47bb", + "udi": "umb://element/82a9e6a51c284e4c929759021871d495" + }, + { + "contentTypeKey": "e91cd36f-4bdf-4c74-90bf-b2c85fd00dae", + "udi": "umb://element/a60f6ce454bd490eb349f8e2b1ae806e", + "image": "[\r\n {\r\n \"key\": \"be4c4bb3-8c48-4403-8f75-be1a8b8c74de\",\r\n \"mediaKey\": \"fbb3c9cb-f708-4106-8588-f7e99ebf0d8d\"\r\n }\r\n]" + }, + { + "contentTypeKey": "62351bd5-75fc-4d93-a6b2-b99439a9161f", + "udi": "umb://element/5e5974a3716c4f1fb3f24a6401289249", + "headline": "Renewable energy" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/7f1a610ac1da4143a5158bcd9483fd2b", + "richText": "The phrase “global warming” hasn’t been around long, but climate change, as it’s also known, is nothing new. In fact, it has been a constant throughout history. Earth’s climate today is very different from what it was 2 million years ago, let alone 10,000 years ago.
" + }, + { + "contentTypeKey": "1d05aa7a-16bd-4f3f-b094-023fd0bf0332", + "udi": "umb://element/4bd258d683cd45478991f7ae8c4b1faa", + "link": "[{\"name\":\"Get inspired today\",\"target\":\"\",\"udi\":\"umb://document/6ac5363ad8124ce9aa893a3973426c70\"}]" + }, + { + "contentTypeKey": "e7cd2fff-36b9-4853-9a29-5afe4c1c47bb", + "udi": "umb://element/87c966fc4ade4261b03ed5e0191677dc" + }, + { + "contentTypeKey": "e91cd36f-4bdf-4c74-90bf-b2c85fd00dae", + "udi": "umb://element/890066c8df5c4323bcd7abe3185e3046", + "image": "[\r\n {\r\n \"key\": \"b4dda200-1e4a-46f7-9cac-7e934703cdba\",\r\n \"mediaKey\": \"76e87651-7962-4c73-ae6b-684921a81c1e\"\r\n }\r\n]" + }, + { + "contentTypeKey": "62351bd5-75fc-4d93-a6b2-b99439a9161f", + "udi": "umb://element/abbd585a19da4a53a380843399f6913d", + "headline": "Emerging use of technologies" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/bb3875a42a3243c88820f39f31668bfc", + "richText": "Humans derive energy from burning fossil fuels, which releases almost three quarters of all human-produced greenhouse gases into the atmosphere. Half of all fossil fuels are burned to provide electricity and heat; the next big users of fossil fuels are manufacturing and transportation.
" + }, + { + "contentTypeKey": "1d05aa7a-16bd-4f3f-b094-023fd0bf0332", + "udi": "umb://element/d13498b835094994bfe943b2e91c74e6", + "link": "[{\"name\":\"Solutions for life\",\"udi\":\"umb://document/6ac5363ad8124ce9aa893a3973426c70\"}]" + }, + { + "contentTypeKey": "964feee4-efb3-4676-91a0-b960f26e9d92", + "udi": "umb://element/51e5a28718704b8fb58319c4d1cbabe9" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/4c3ac78ea12d454fab3d3441fd066d5b", + "richText": "What you can do to help reduce your carbon footprint depends on where you live, the resources you have, and how much time you can give. If you want to do something about global warming, however, then simple changes can have a big impact. Here are some straightforward solutions that you can implement right away:
\nEat less (or no) meat. Going vegetarian has the same impact on reducing greenhouse gas emissions as if you trade in a regular car for a hybrid. The process of making a pound of commercial meat uses ten times more energy than making a pound of beans or grains.
\nHook your home up to clean energy. If you can’t afford to install solar panels or wind turbines on your roof, you can tap into an independent clean energy supplier. Let them build the wind turbine, and you reap the benefits. This step reduces your own emissions and helps build the renewable energy industry.
\nInsulate your house. The average home has the equivalent of a basketball-sized hole in the side of its wall. That’s how much heating and cooling you can keep from escaping if you properly insulate your home’s ceilings, walls, windows, and doors.
\nTravel smart. Reducing the number of flights you take in a year has a huge impact. One long-haul flight can be enough to double your impact on climate change, so think twice before taking that long trip. Whenever possible, take the train or bus. Minimize your driving by carpooling, walking, biking, or taking public transit.
\nUse only the energy you need. Develop energy-saving habits — turn off the lights and TV when you leave the room, and turn down your thermostats when the house is empty in winter, and up in summer. Choose low-energy technologies by looking for the ENERGY STAR or Energy Savings logos on all appliances, electronics, computers, and more. These qualification standards highlight products that use the least energy.
" + }, + { + "contentTypeKey": "054fd67a-a72d-4044-8226-11abeab7937d", + "udi": "umb://element/e92e509297e5423fa56967f44ca4df5c" + }, + { + "contentTypeKey": "e91cd36f-4bdf-4c74-90bf-b2c85fd00dae", + "udi": "umb://element/18b0960c746f43e39bbfaefd858f55c7", + "image": "[\r\n {\r\n \"key\": \"c21ddb33-b3fd-4b38-82b6-a171c2e39f9a\",\r\n \"mediaKey\": \"cb4659fc-57b1-449a-a64c-6545e8495883\"\r\n }\r\n]" + }, + { + "contentTypeKey": "1d05aa7a-16bd-4f3f-b094-023fd0bf0332", + "udi": "umb://element/9d55fa3e437f465b97e83d4d504e8f99", + "link": "[{\"name\":\"Get creative now\",\"udi\":\"umb://document/6ac5363ad8124ce9aa893a3973426c70\"}]" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/1ccc80cff546483cb26f583a4b73a2e9", + "richText": "Greenhouse gases are carbon dioxide and methane which contribute to global warming and climate change. We need to talk about what we can do on a personal level to make changes in our own lives so we can find creative ways to reduce our carbon footprint.
" + }, + { + "contentTypeKey": "e91cd36f-4bdf-4c74-90bf-b2c85fd00dae", + "udi": "umb://element/d8fc805b103e4f5c9e52930182fe1ec9", + "image": "[\r\n {\r\n \"key\": \"7226feaf-0348-4899-bfa8-944a2c1738a3\",\r\n \"mediaKey\": \"a406a55f-7122-4822-9fbb-95ae9f6bc39b\"\r\n }\r\n]" + }, + { + "contentTypeKey": "1d05aa7a-16bd-4f3f-b094-023fd0bf0332", + "udi": "umb://element/f61f0278863441c8b39f25e9c0b70021", + "link": "[{\"name\":\"See our solutions\",\"udi\":\"umb://document/6ac5363ad8124ce9aa893a3973426c70\"}]" + } + ], + "settingsData": [ + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/b72dcda2c9d54b5facd8fa220a9ffc34", + "backgroundColor": "{\r\n \"value\": \"f4f1ec\",\r\n \"label\": \"f4f1ec\",\r\n \"sortOrder\": 3,\r\n \"id\": \"4\"\r\n}" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/7d274fd111544a23b86d8fbe4af3cafe" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/1a34b67fa68947599153b59022917a7e" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/ee9077a4a06f4eb48351f3d3aebe01fb" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/bc9c7e522c264cb78f6b89700b54f103" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/aa9fca1883294a8cba19b6a8b02ef410" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/78cb82c0711b4a2a9604796a24466634", + "backgroundColor": "{\r\n \"value\": \"113635\",\r\n \"label\": \"113635\",\r\n \"sortOrder\": 7,\r\n \"id\": \"8\"\r\n}", + "contrast": "{\r\n \"value\": \"ffffff\",\r\n \"label\": \"ffffff\",\r\n \"sortOrder\": 1,\r\n \"id\": \"2\"\r\n}" + } + ] +}]]>What you can do to help reduce your carbon footprint depends on where you live, the resources you have, and how much time you can give. If you want to do something about global warming, however, then simple changes can have a big impact.
" + }, + { + "contentTypeKey": "56a73241-9dbd-46aa-a1ff-3d24ae2b6a33", + "udi": "umb://element/f9287d8ba41743aea1015738afd362f0", + "image": "[\r\n {\r\n \"key\": \"b78be6c0-f0bd-400b-8412-2773b86dbbed\",\r\n \"mediaKey\": \"0d47b9c5-a0e1-474f-a867-e59c592e417f\"\r\n }\r\n]", + "headline": "Innovative indoor climate solution", + "richText": "Keep your organization sustainable with a green agenda.
" + }, + { + "contentTypeKey": "56a73241-9dbd-46aa-a1ff-3d24ae2b6a33", + "udi": "umb://element/4a0f761f824a4bae91866dfc557acf73", + "image": "[\r\n {\r\n \"key\": \"b0a2a241-e24d-4c37-9f62-108c22863d71\",\r\n \"mediaKey\": \"591f607c-6a13-4773-a868-76db1148ffb0\"\r\n }\r\n]", + "headline": "Green production transition", + "richText": "Analysis and facilitation, Use a combination of the two and implement them.
" + }, + { + "contentTypeKey": "56a73241-9dbd-46aa-a1ff-3d24ae2b6a33", + "udi": "umb://element/faddecf8aa3a4b299bc6c7bf611d4d27", + "image": "[\r\n {\r\n \"key\": \"f294e7ef-fd7f-4e30-84dc-9346d329b33e\",\r\n \"mediaKey\": \"87b7776d-f21b-4dda-8325-87b4d004dceb\"\r\n }\r\n]", + "headline": "Analysis & evaluation", + "richText": "We provide a platform of knowledge, so you can use that knowledge for branding and marketing.
" + }, + { + "contentTypeKey": "56a73241-9dbd-46aa-a1ff-3d24ae2b6a33", + "udi": "umb://element/329bb5128b3e4a59a103079ddc500dad", + "image": "[\r\n {\r\n \"key\": \"bf356e7a-8b59-4963-8dc8-f6284870cde4\",\r\n \"mediaKey\": \"76e87651-7962-4c73-ae6b-684921a81c1e\"\r\n }\r\n]", + "headline": "Optimisation & implementation", + "richText": "You can use that knowledge for branding and marketing.
" + }, + { + "contentTypeKey": "56a73241-9dbd-46aa-a1ff-3d24ae2b6a33", + "udi": "umb://element/3ee573f93eda4f0c80d6c52544837967", + "image": "[\r\n {\r\n \"key\": \"70f31be4-6bcf-425e-a49d-1fee2fedd81d\",\r\n \"mediaKey\": \"a406a55f-7122-4822-9fbb-95ae9f6bc39b\"\r\n }\r\n]", + "headline": "The transition to green production", + "richText": "Use a combination of analysis and facilitation, we help you make the right decisions and implement them.
" + }, + { + "contentTypeKey": "56a73241-9dbd-46aa-a1ff-3d24ae2b6a33", + "udi": "umb://element/9cee4fda73314d97b33c507a038c2c2f", + "image": "[\r\n {\r\n \"key\": \"c1934b6f-077c-4677-847b-a6df6d9f5394\",\r\n \"mediaKey\": \"91f42a8e-6bdd-48ba-9e51-cc4e4540ffad\"\r\n }\r\n]", + "headline": "Environmental footprint", + "richText": "Creating sustainable product innovation is an important parameter
" + }, + { + "contentTypeKey": "56a73241-9dbd-46aa-a1ff-3d24ae2b6a33", + "udi": "umb://element/e6b7a7bb31a84ce8a67a97b990b7b367", + "image": "[\r\n {\r\n \"key\": \"7f9a190e-c4ed-4c2a-86b8-48a4454eed23\",\r\n \"mediaKey\": \"0ce0babd-8047-48a0-bcc3-a2d1bf7cc7aa\"\r\n }\r\n]", + "headline": "Carbon dioxide", + "richText": "Chemical compound made up of molecules that each have one carbon atom covalently double bonded to two oxygen atoms
" + }, + { + "contentTypeKey": "964feee4-efb3-4676-91a0-b960f26e9d92", + "udi": "umb://element/a4b6a642bffc4f349232c056b84b2cd1" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/e5ab4ac7ce1843528aca261576a88536", + "richText": "What you can do to help reduce your carbon footprint depends on where you live, the resources you have, and how much time you can give. If you want to do something about global warming, however, then simple changes can have a big impact. Here are some straightforward solutions that you can implement right away:
\nEat less (or no) meat. Going vegetarian has the same impact on reducing greenhouse gas emissions as if you trade in a regular car for a hybrid. The process of making a pound of commercial meat uses ten times more energy than making a pound of beans or grains.
\nHook your home up to clean energy. If you can’t afford to install solar panels or wind turbines on your roof, you can tap into an independent clean energy supplier. Let them build the wind turbine, and you reap the benefits. This step reduces your own emissions and helps build the renewable energy industry.
\nInsulate your house. The average home has the equivalent of a basketball-sized hole in the side of its wall. That’s how much heating and cooling you can keep from escaping if you properly insulate your home’s ceilings, walls, windows, and doors.
\nTravel smart. Reducing the number of flights you take in a year has a huge impact. One long-haul flight can be enough to double your impact on climate change, so think twice before taking that long trip. Whenever possible, take the train or bus. Minimize your driving by carpooling, walking, biking, or taking public transit.
\nUse only the energy you need. Develop energy-saving habits — turn off the lights and TV when you leave the room, and turn down your thermostats when the house is empty in winter, and up in summer. Choose low-energy technologies by looking for the ENERGY STAR or Energy Savings logos on all appliances, electronics, computers, and more. These qualification standards highlight products that use the least energy.
" + }, + { + "contentTypeKey": "e7cd2fff-36b9-4853-9a29-5afe4c1c47bb", + "udi": "umb://element/2cfc183497714d27a938ea4f369e8aa8" + }, + { + "contentTypeKey": "e91cd36f-4bdf-4c74-90bf-b2c85fd00dae", + "udi": "umb://element/14868939c7f3496f90fda4f7bfe1ed97", + "image": "[\r\n {\r\n \"key\": \"003e5cc1-70f9-4f45-9081-037125e80eea\",\r\n \"mediaKey\": \"8d71873a-4a79-41d9-817d-4e60fea33792\"\r\n }\r\n]" + }, + { + "contentTypeKey": "62351bd5-75fc-4d93-a6b2-b99439a9161f", + "udi": "umb://element/aa4fceaf479148b781eaae21d68978b0", + "headline": "Conserve our natural resources" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/7a66fc6c7a794e4c8049f68f95f0e3eb", + "richText": "Humans derive energy from burning fossil fuels, which releases almost three quarters of all human-produced greenhouse gases into the atmosphere. Half of all fossil fuels are burned to provide electricity and heat; the next big users of fossil fuels are manufacturing and transportation.
" + }, + { + "contentTypeKey": "1d05aa7a-16bd-4f3f-b094-023fd0bf0332", + "udi": "umb://element/6a19709c18334c93a4e2a515d8e8ff4a", + "link": "[{\"name\":\"Learn more\",\"udi\":\"umb://document/6e2ff1f7114e484ba407918daded1aa6\"}]" + }, + { + "contentTypeKey": "e7cd2fff-36b9-4853-9a29-5afe4c1c47bb", + "udi": "umb://element/7c7030a693014cda8d64a6803172ba2d" + }, + { + "contentTypeKey": "e91cd36f-4bdf-4c74-90bf-b2c85fd00dae", + "udi": "umb://element/9738df7d64814b28ae25a231e4a7d4c7", + "image": "[\r\n {\r\n \"key\": \"232198b5-a5dc-4d14-9684-e401185604f4\",\r\n \"mediaKey\": \"43933cb4-0d29-412e-8e89-25ae76274b05\"\r\n }\r\n]" + }, + { + "contentTypeKey": "62351bd5-75fc-4d93-a6b2-b99439a9161f", + "udi": "umb://element/e013c27b47e3466db4dae0494f6a4e3f", + "headline": "A bright future for renewable energy" + }, + { + "contentTypeKey": "69de9db6-ec92-4989-a5f6-8437b8f3d5cd", + "udi": "umb://element/7a53ce3b088e4e1cad67f5ca05d02540", + "richText": "The phrase “global warming” hasn’t been around long, but climate change, as it’s also known, is nothing new. In fact, it has been a constant throughout history. Earth’s climate today is very different from what it was 2 million years ago, let alone 10,000 years ago.
" + }, + { + "contentTypeKey": "1d05aa7a-16bd-4f3f-b094-023fd0bf0332", + "udi": "umb://element/6ba7dafc14ed4742891dfbcad44d93e1", + "link": "[{\"name\":\"Explorer\",\"udi\":\"umb://document/6e2ff1f7114e484ba407918daded1aa6\"}]" + } + ], + "settingsData": [ + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/398a058e2e8846339e9013ebfa4517b7", + "backgroundColor": "{\r\n \"value\": \"f4f1ec\",\r\n \"label\": \"f4f1ec\",\r\n \"sortOrder\": 3,\r\n \"id\": \"4\"\r\n}" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/1b30c4ca55ed45e2af4acf70b0ad3bc6", + "backgroundColor": "" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/dc8ab3910a404ea0939999643f43cfa2", + "backgroundColor": "{\r\n \"value\": \"c97990\",\r\n \"label\": \"c97990\",\r\n \"sortOrder\": 1,\r\n \"id\": \"2\"\r\n}", + "contrast": "{\r\n \"value\": \"ffffff\",\r\n \"label\": \"ffffff\",\r\n \"sortOrder\": 1,\r\n \"id\": \"2\"\r\n}" + }, + { + "contentTypeKey": "1a16c578-dacc-4552-ad07-26553c8a34fd", + "udi": "umb://element/c55b4bb7d02e43c39dfb252e04fb0acd", + "backgroundColor": "" + } + ] +}]]>{ex.Message}