Return to Snippet

Revision: 44564
at April 14, 2011 03:24 by timgeyssens


Initial Code
@using Contour.Addons.Razor
<ul>
 @foreach (dynamic record in Library.GetApprovedRecordsFromPage(@Model.Id))
 {
     <li>
          @if(string.IsNullOrEmpty(record.Website)){
             <strong>@record.Name</strong>
          }
          else{
             <a href="@record.Website"><strong>@record.Name</strong></a>
          }
  
         <p>@record.Comment</p>
     </li>
  }
</ul>

Initial URL

                                

Initial Description
WIP dynamic objects you can use to output contour records on your umbraco site using razor

Initial Title
Umbraco Contour and razor

Initial Tags

                                

Initial Language
C#