Ejemplo n.º 1
0
        public System.Web.WebPages.HelperResult PreviewLink(SitemapHistoryItem item)
        {
#line default
#line hidden
            return(new System.Web.WebPages.HelperResult(__razor_helper_writer => {
#line 43 "..\..\Views\Sitemap\History.cshtml"



#line default
#line hidden
                WriteLiteralTo(__razor_helper_writer, "    <div");

                WriteLiteralTo(__razor_helper_writer, " class=\"bcms-action-usage bcms-js-preview\"");

                WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 1965), Tuple.Create("\"", 2006)

#line 44 "..\..\Views\Sitemap\History.cshtml"
                                 , Tuple.Create(Tuple.Create("", 1973), Tuple.Create <System.Object, System.Int32>(RootGlobalization.Button_Preview

#line default
#line hidden
                                                                                                                   , 1973), false)
                                 );

                WriteLiteralTo(__razor_helper_writer, " data-id=\"");


#line 44 "..\..\Views\Sitemap\History.cshtml"
                WriteTo(__razor_helper_writer, item.Id);


#line default
#line hidden
                WriteLiteralTo(__razor_helper_writer, "\"");

                WriteLiteralTo(__razor_helper_writer, ">");


#line 44 "..\..\Views\Sitemap\History.cshtml"
                WriteTo(__razor_helper_writer, RootGlobalization.Button_Preview);


#line default
#line hidden
                WriteLiteralTo(__razor_helper_writer, "</div>\r\n");


#line 45 "..\..\Views\Sitemap\History.cshtml"


#line default
#line hidden
            }));

#line 45 "..\..\Views\Sitemap\History.cshtml"
        }
Ejemplo n.º 2
0
        public System.Web.WebPages.HelperResult PreviewLink(SitemapHistoryItem item)
        {
#line default
#line hidden
            return(new System.Web.WebPages.HelperResult(__razor_helper_writer => {
#line 15 "..\..\Views\Sitemap\History.cshtml"



#line default
#line hidden
                WriteLiteralTo(__razor_helper_writer, "    <a");

                WriteLiteralTo(__razor_helper_writer, " class=\"bcms-icn-preview\"");

                WriteLiteralTo(__razor_helper_writer, " data-id=\"");


#line 16 "..\..\Views\Sitemap\History.cshtml"
                WriteTo(__razor_helper_writer, item.Id);


#line default
#line hidden
                WriteLiteralTo(__razor_helper_writer, "\"");

                WriteLiteralTo(__razor_helper_writer, ">");


#line 16 "..\..\Views\Sitemap\History.cshtml"
                WriteTo(__razor_helper_writer, RootGlobalization.Button_Preview);


#line default
#line hidden
                WriteLiteralTo(__razor_helper_writer, "</a>\r\n");


#line 17 "..\..\Views\Sitemap\History.cshtml"


#line default
#line hidden
            }));

#line 17 "..\..\Views\Sitemap\History.cshtml"
        }
Ejemplo n.º 3
0
        public System.Web.WebPages.HelperResult RestoreLink(SitemapHistoryItem item)
        {
#line default
#line hidden
            return(new System.Web.WebPages.HelperResult(__razor_helper_writer => {
#line 19 "..\..\Views\Sitemap\History.cshtml"

                if (item.CanCurrentUserRestoreIt)
                {
#line default
#line hidden
                    WriteLiteralTo(__razor_helper_writer, "        <a");

                    WriteLiteralTo(__razor_helper_writer, " class=\"bcms-icn-restore\"");

                    WriteLiteralTo(__razor_helper_writer, " data-id=\"");


#line 22 "..\..\Views\Sitemap\History.cshtml"
                    WriteTo(__razor_helper_writer, item.Id);


#line default
#line hidden
                    WriteLiteralTo(__razor_helper_writer, "\"");

                    WriteLiteralTo(__razor_helper_writer, " data-version=\"");


#line 22 "..\..\Views\Sitemap\History.cshtml"
                    WriteTo(__razor_helper_writer, item.Version);


#line default
#line hidden
                    WriteLiteralTo(__razor_helper_writer, "\"");

                    WriteLiteralTo(__razor_helper_writer, ">");


#line 22 "..\..\Views\Sitemap\History.cshtml"
                    WriteTo(__razor_helper_writer, RootGlobalization.Button_Restore);


#line default
#line hidden
                    WriteLiteralTo(__razor_helper_writer, "</a>\r\n");


#line 23 "..\..\Views\Sitemap\History.cshtml"
                }
                else
                {
#line default
#line hidden
                    WriteLiteralTo(__razor_helper_writer, "    ");

                    WriteLiteralTo(__razor_helper_writer, "&nbsp;\r\n");


#line 27 "..\..\Views\Sitemap\History.cshtml"
                }


#line default
#line hidden
            }));

#line 28 "..\..\Views\Sitemap\History.cshtml"
        }
Ejemplo n.º 4
0
        public System.Web.WebPages.HelperResult RestoreLink(SitemapHistoryItem item)
        {
#line default
#line hidden
            return(new System.Web.WebPages.HelperResult(__razor_helper_writer => {
#line 47 "..\..\Views\Sitemap\History.cshtml"

                if (item.CanCurrentUserRestoreIt)
                {
#line default
#line hidden
                    WriteLiteralTo(__razor_helper_writer, "        <div");

                    WriteLiteralTo(__razor_helper_writer, " class=\"bcms-action-restore bcms-js-restore\"");

                    WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 2222), Tuple.Create("\"", 2263)

#line 50 "..\..\Views\Sitemap\History.cshtml"
                                     , Tuple.Create(Tuple.Create("", 2230), Tuple.Create <System.Object, System.Int32>(RootGlobalization.Button_Restore

#line default
#line hidden
                                                                                                                       , 2230), false)
                                     );

                    WriteLiteralTo(__razor_helper_writer, " data-id=\"");


#line 50 "..\..\Views\Sitemap\History.cshtml"
                    WriteTo(__razor_helper_writer, item.Id);


#line default
#line hidden
                    WriteLiteralTo(__razor_helper_writer, "\"");

                    WriteLiteralTo(__razor_helper_writer, " data-version=\"");


#line 50 "..\..\Views\Sitemap\History.cshtml"
                    WriteTo(__razor_helper_writer, item.Version);


#line default
#line hidden
                    WriteLiteralTo(__razor_helper_writer, "\"");

                    WriteLiteralTo(__razor_helper_writer, ">");


#line 50 "..\..\Views\Sitemap\History.cshtml"
                    WriteTo(__razor_helper_writer, RootGlobalization.Button_Restore);


#line default
#line hidden
                    WriteLiteralTo(__razor_helper_writer, "</div>\r\n");


#line 51 "..\..\Views\Sitemap\History.cshtml"
                }
                else
                {
#line default
#line hidden
                    WriteLiteralTo(__razor_helper_writer, "        ");

                    WriteLiteralTo(__razor_helper_writer, "&nbsp;\r\n");


#line 55 "..\..\Views\Sitemap\History.cshtml"
                }


#line default
#line hidden
            }));

#line 56 "..\..\Views\Sitemap\History.cshtml"
        }