root/branches/release-33/tmpl/cms/popup/rebuilt.tmpl @ 1778

Revision 1778, 2.1 kB (checked in by bchoate, 20 months ago)

Changes to update type-based touches prior to any rebuilding. Added 'pre_build', 'post_build' callbacks that wrap entire build process (pre_build is called at start of multi-request build process; post_build is called at the end). Added a total publish time message at end of build process. BugId:74814

  • Property svn:keywords set to Author Date Id Revision
Line 
1<$mt:setvar name="screen_type" value="popup-screen"$>
2<mt:setvarblock name="page_title"><__trans phrase="Success"></mt:setvarblock>
3<mt:setvar name="complete" value="1">
4<mt:include name="include/chromeless_header.tmpl">
5
6<mtapp:statusmsg
7    id="message"
8    class="success">
9    <p>
10    <mt:if name="all">
11    <__trans phrase="All of your files have been published.">
12    <mt:else>
13    <mt:if name="is_one_index">
14    <__trans phrase="Your [_1] has been published." params="<mt:var name="type" escape="html">">
15    <mt:else>
16    <mt:if name="is_entry">
17    <__trans phrase="Your [_1] has been published." params="<mt:var name="type" escape="html">">
18    <mt:else>
19    <mt:if name="archives">
20    <__trans phrase="Your [_1] archives have been published." params="<mt:var name="type" escape="html">">
21    <mt:else>
22    <__trans phrase="Your [_1] templates have been published." params="<mt:var name="type" escape="html">">
23    </mt:if>
24    </mt:if>
25    </mt:if>
26    </mt:if>
27    <br />
28    <mt:if name="start_timestamp">
29    <__trans phrase="Publish time: [_1]." params="<mt:date ts="$start_timestamp" relative="3">">
30    </mt:if>
31    </p>
32    <p>
33    <a target="_blank" href="<mt:var name="blog_url" escape="html">"><__trans phrase="View your site."></a>
34    <mt:if name="is_one_index">
35        <a target="_blank" href="<mt:var name="tmpl_url">"><__trans phrase="View this page."></a>
36    </mt:if>
37    </p>
38</mtapp:statusmsg>
39
40<div class="actions-bar">
41    <div class="actions-bar-inner pkg actions right">
42        <button
43            onclick="window.close()"
44            type="submit"
45            accesskey="x"
46            title="<__trans phrase="Close (x)">"
47            class="primary-button"
48            ><__trans phrase="Close"></button>
49        <button
50            onclick="window.location='<mt:var name="script_url">?__mode=rebuild_confirm&amp;blog_id=<mt:var name="blog_id">'"
51            type="submit"
52            accesskey="s"
53            title="<__trans phrase="Publish Again (s)">"
54            ><__trans phrase="Publish Again"></button>
55           
56    </div>
57</div>
58
59
60<mt:include name="include/chromeless_footer.tmpl">
Note: See TracBrowser for help on using the browser.