This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * This file is a copy of the core version from https://github.com/umbraco/Umbraco-CMS/blob/6bca91a52fabfe96b7ede1837b908b33d78136ed/src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-action/default/workspace-action-default-kind.element.ts | |
| * with the addition of a document icon in the button! | |
| */ | |
| import type { | |
| ManifestWorkspaceAction, | |
| ManifestWorkspaceActionMenuItem, | |
| MetaWorkspaceActionDefaultKind, | |
| UmbWorkspaceActionDefaultKind, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @helper RenderCountryOptions() { | |
| <option>Choose a country...</option> | |
| @foreach(var region in @Model.XPath("/root/Website/CountryList/CountryList[Country[not(active = 0)]]")) | |
| { | |
| <optgroup label="@region.Name"> | |
| @foreach(var country in @region.Children) | |
| { | |
| <option>@country.Name</option> | |
| } | |
| </optgroup> |