Created
July 4, 2016 19:17
-
-
Save bjarnef/f684f0415ef9b08474662c018d758c0f to your computer and use it in GitHub Desktop.
nuPickers custom label
This file contains 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
@using Umbraco.Web.PublishedCache; | |
@inherits Umbraco.Web.Macros.PartialViewMacroPage | |
@{ | |
var member = (MemberPublishedContent)Umbraco.TypedMember(Model.MacroParameters["key"]); | |
if (member != null) | |
{ | |
var guid = member.GetKey(); | |
<i class="icon icon-user"></i> <a href="/umbraco/#/member/member/edit/@guid" title="Rediger medlem">@member.Name</a> | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment