#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.Views.Job
{
    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("~/Views/Job/WarrantyProviderJobDetails.cshtml")]
    public class WarrantyProviderJobDetails : System.Web.Mvc.WebViewPage<Disco.Web.Models.Job.WarrantyProviderJobDetailsModel>
    {
        public WarrantyProviderJobDetails()
        {
        }
        public override void Execute()
        {
            
            #line 2 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
   Layout = null;

   if (Model.JobDetailsException != null)
   {

            
            #line default
            #line hidden
WriteLiteral("    <h3>\r\n        Error:</h3>\r\n");

WriteLiteral("    <div>\r\n        <strong>");

            
            #line 9 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
           Write(Model.JobDetailsException.Message);

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

WriteLiteral("    <a");

WriteLiteral(" href=\"#\"");

WriteLiteral(" id=\"warrantyJobDetailsErrorShow\"");

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

WriteLiteral(">(show more)</a>\r\n");

WriteLiteral("    <div");

WriteLiteral(" id=\"warrantyJobDetailsErrorMore\"");

WriteLiteral(" style=\"display: none\"");

WriteLiteral(">\r\n        <br />\r\n        <strong>Error Type: </strong>");

            
            #line 14 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
                                Write(Model.JobDetailsException.GetType().Name);

            
            #line default
            #line hidden
WriteLiteral("\r\n        <br />\r\n        <strong>Stack Trace:</strong>\r\n        <div");

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

WriteLiteral(">\r\n");

WriteLiteral("            ");

            
            #line 18 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
       Write(Model.JobDetailsException.StackTrace.ToMultilineString());

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

            
            #line 20 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
        
            
            #line default
            #line hidden
            
            #line 20 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
         if (Model.JobDetailsException.InnerException != null)
        { 

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

WriteLiteral("            <div>\r\n                <strong>Inner Exception:</strong> ");

            
            #line 24 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
                                             Write(Model.JobDetailsException.InnerException.Message);

            
            #line default
            #line hidden
WriteLiteral("<br />\r\n                <strong>Error Type:</strong> ");

            
            #line 25 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
                                        Write(Model.JobDetailsException.GetType().Name);

            
            #line default
            #line hidden
WriteLiteral("<br />\r\n                <strong>Stack Trace:</strong>\r\n                <div");

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

WriteLiteral(">\r\n");

WriteLiteral("                    ");

            
            #line 28 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
               Write(Model.JobDetailsException.InnerException.StackTrace);

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

            
            #line 31 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
        }

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

WriteLiteral(" type=\"text/javascript\"");

WriteLiteral(@">
            $(function () {
                $('#warrantyJobDetailsErrorShow').click(function () {
                    $(this).hide();
                    $('#warrantyJobDetailsErrorMore').slideDown();
                });
            });
        </script>
    </div>
");

            
            #line 41 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
   }
   else
   {
       if (Model.JobDetailsSupported)
       {
    
            
            #line default
            #line hidden
            
            #line 46 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
Write(Html.PartialCompiled(Model.ViewType, Model.ViewModel));

            
            #line default
            #line hidden
            
            #line 46 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
                                                          
       }
       else
       { 

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

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

WriteLiteral(">");

            
            #line 50 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
                          Write(Model.JobDetailsNotSupportedMessage);

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

            
            #line 51 "..\..\Views\Job\WarrantyProviderJobDetails.cshtml"
       }
   }

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

        }
    }
}
#pragma warning restore 1591
