#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.17929
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace Disco.Web.Areas.Config.Views.DeviceProfile
{
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using System.Net;
    using System.Text;
    using System.Web;
    using System.Web.Helpers;
    using System.Web.Mvc;
    using System.Web.Mvc.Ajax;
    using System.Web.Mvc.Html;
    using System.Web.Routing;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.WebPages;
    using Disco.BI.Extensions;
    using Disco.Models.Repository;
    using Disco.Web;
    using Disco.Web.Extensions;
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
    [System.Web.WebPages.PageVirtualPathAttribute("~/Areas/Config/Views/DeviceProfile/_TableRender.cshtml")]
    public class TableRender : System.Web.Mvc.WebViewPage<IEnumerable<Disco.Web.Areas.Config.Models.DeviceProfile._IndexModelItem>>
    {
        public TableRender()
        {
        }
        public override void Execute()
        {
WriteLiteral("<table");

WriteLiteral(" class=\"tableData deviceProfileTable\"");

WriteLiteral(">\r\n    <tr>\r\n        <th");

WriteLiteral(" class=\"name\"");

WriteLiteral(">\r\n            Name\r\n        </th>\r\n        <th");

WriteLiteral(" class=\"description\"");

WriteLiteral(">\r\n            Description\r\n        </th>\r\n        <th");

WriteLiteral(" class=\"type\"");

WriteLiteral(">\r\n            Type\r\n        </th>\r\n        <th");

WriteLiteral(" class=\"deviceCount\"");

WriteLiteral(">\r\n            Device Count\r\n        </th>\r\n    </tr>\r\n");

            
            #line 17 "..\..\Areas\Config\Views\DeviceProfile\_TableRender.cshtml"
    
            
            #line default
            #line hidden
            
            #line 17 "..\..\Areas\Config\Views\DeviceProfile\_TableRender.cshtml"
     foreach (var item in Model)
    {

            
            #line default
            #line hidden
WriteLiteral("        <tr>\r\n            <td>\r\n");

WriteLiteral("                ");

            
            #line 21 "..\..\Areas\Config\Views\DeviceProfile\_TableRender.cshtml"
           Write(Html.ActionLink(item.Name, MVC.Config.DeviceProfile.Index(item.Id)));

            
            #line default
            #line hidden
WriteLiteral("\r\n            </td>\r\n            <td>\r\n");

WriteLiteral("                ");

            
            #line 24 "..\..\Areas\Config\Views\DeviceProfile\_TableRender.cshtml"
           Write(Html.DisplayFor(modelItem => item.Description));

            
            #line default
            #line hidden
WriteLiteral("\r\n            </td>\r\n            <td>\r\n");

WriteLiteral("                ");

            
            #line 27 "..\..\Areas\Config\Views\DeviceProfile\_TableRender.cshtml"
           Write(Html.DisplayFor(modelItem => item.DistributionType));

            
            #line default
            #line hidden
WriteLiteral("\r\n            </td>\r\n            <td>\r\n");

WriteLiteral("                ");

            
            #line 30 "..\..\Areas\Config\Views\DeviceProfile\_TableRender.cshtml"
           Write(item.DeviceCount.ToString("n0"));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

            
            #line 31 "..\..\Areas\Config\Views\DeviceProfile\_TableRender.cshtml"
                
            
            #line default
            #line hidden
            
            #line 31 "..\..\Areas\Config\Views\DeviceProfile\_TableRender.cshtml"
                 if (item.DeviceDecommissionedCount > 0)
                { 

            
            #line default
            #line hidden
WriteLiteral("                    <span");

WriteLiteral(" class=\"smallMessage\"");

WriteAttribute("title", Tuple.Create(" title=\"", 1005), Tuple.Create("\"", 1061)
            
            #line 33 "..\..\Areas\Config\Views\DeviceProfile\_TableRender.cshtml"
, Tuple.Create(Tuple.Create("", 1013), Tuple.Create<System.Object, System.Int32>(item.DeviceDecommissionedCount
            
            #line default
            #line hidden
, 1013), false)
, Tuple.Create(Tuple.Create(" ", 1046), Tuple.Create("Decommissioned", 1047), true)
);

WriteLiteral(">\r\n                        (");

            
            #line 34 "..\..\Areas\Config\Views\DeviceProfile\_TableRender.cshtml"
                     Write(item.DeviceDecommissionedCount);

            
            #line default
            #line hidden
WriteLiteral(")</span>\r\n");

            
            #line 35 "..\..\Areas\Config\Views\DeviceProfile\_TableRender.cshtml"
                }

            
            #line default
            #line hidden
WriteLiteral("            </td>\r\n        </tr>\r\n");

            
            #line 38 "..\..\Areas\Config\Views\DeviceProfile\_TableRender.cshtml"
    }

            
            #line default
            #line hidden
WriteLiteral("</table>\r\n");

        }
    }
}
#pragma warning restore 1591
