Created
July 4, 2016 19:17
-
-
Save bjarnef/f684f0415ef9b08474662c018d758c0f to your computer and use it in GitHub Desktop.
Revisions
-
bjarnef created this gist
Jul 4, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ @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> } }