~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/templates/translationtemplatesbuild-index.pt

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2005-12-10 05:13:18 UTC
  • mfrom: (2894.1.5 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20051210051318-6808ebbdeefce2cb
[trivial] Update staging Gina config

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html
2
 
  xmlns="http://www.w3.org/1999/xhtml"
3
 
  xmlns:tal="http://xml.zope.org/namespaces/tal"
4
 
  xmlns:metal="http://xml.zope.org/namespaces/metal"
5
 
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
6
 
  metal:use-macro="view/macro:page/main_only"
7
 
  i18n:domain="launchpad"
8
 
>
9
 
 
10
 
  <body>
11
 
 
12
 
    <tal:registering metal:fill-slot="registering">
13
 
        created
14
 
        <span tal:content="context/date_created/fmt:displaydate"
15
 
              tal:attributes="title context/date_created/fmt:datetime"
16
 
          >on 2005-01-01</span>
17
 
    </tal:registering>
18
 
 
19
 
    <div metal:fill-slot="main">
20
 
 
21
 
      <div class="yui-g">
22
 
 
23
 
        <div id="status" class="yui-u first">
24
 
          <div class="portlet">
25
 
            <div metal:use-macro="template/macros/status" />
26
 
          </div>
27
 
        </div>
28
 
 
29
 
        <div id="details" class="yui-u">
30
 
          <div class="portlet">
31
 
            <div metal:use-macro="template/macros/details" />
32
 
          </div>
33
 
        </div>
34
 
 
35
 
      </div> <!-- yui-g  -->
36
 
 
37
 
      <div id="buildlog" class="portlet"
38
 
           tal:condition="context/status/enumvalue:BUILDING">
39
 
        <div metal:use-macro="template/macros/buildlog" />
40
 
      </div>
41
 
 
42
 
   </div> <!-- main -->
43
 
 
44
 
 
45
 
<metal:macros fill-slot="bogus">
46
 
 
47
 
  <metal:macro define-macro="details">
48
 
    <tal:comment replace="nothing">
49
 
      Details section.
50
 
    </tal:comment>
51
 
    <h2>Build details</h2>
52
 
    <p>Branch:
53
 
     <tal:branch replace="structure context/branch/fmt:link">
54
 
       lp:foo/trunk
55
 
     </tal:branch>
56
 
    </p>
57
 
    <tal:targets tal:define="targets view/getTargets">
58
 
      <div tal:condition="targets">
59
 
        For import into:
60
 
        <ul>
61
 
          <li tal:repeat="target targets">
62
 
            <a tal:replace="structure target/fmt:link">gawk trunk series</a>
63
 
          </li>
64
 
        </ul>
65
 
      </div>
66
 
      <div tal:condition="not:targets">
67
 
        <em>Not imported anywhere.</em>
68
 
      </div>
69
 
    </tal:targets>
70
 
  </metal:macro>
71
 
 
72
 
  <metal:macro define-macro="status">
73
 
    <tal:comment replace="nothing">
74
 
      Status section.
75
 
    </tal:comment>
76
 
    <h2>Build status</h2>
77
 
    <p>
78
 
      <span tal:replace="structure context/image:icon" />
79
 
      <span tal:attributes="
80
 
            class string:buildstatus${context/status/name};"
81
 
            tal:content="context/status/title">Fully built</span>
82
 
      <tal:building define="builder context/builder"
83
 
                    condition="builder">
84
 
        on <a tal:content="builder/title"
85
 
              tal:attributes="href builder/fmt:url"/>
86
 
      </tal:building>
87
 
    </p>
88
 
 
89
 
    <ul>
90
 
      <li tal:define="time view/renderDispatchTime"
91
 
          tal:condition="time"
92
 
          tal:content="structure time">
93
 
          Started 5 minutes ago
94
 
      </li>
95
 
      <li tal:define="time view/renderFinishTime"
96
 
          tal:condition="time"
97
 
          tal:content="structure time">
98
 
        Finished 30 seconds ago
99
 
        <tal:duration define="duration context/duration" condition="duration">
100
 
          (took <span tal:replace="duration/fmt:exactduration" />)
101
 
        </tal:duration>
102
 
      </li>
103
 
 
104
 
      <li tal:define="file context/log"
105
 
          tal:condition="file">
106
 
        <a class="sprite download"
107
 
           tal:attributes="href context/log_url"
108
 
           tal:content="string: buildlog">BUILDLOG</a>
109
 
        (<span tal:replace="file/content/filesize/fmt:bytes" />)
110
 
      </li>
111
 
    </ul>
112
 
  </metal:macro>
113
 
 
114
 
  <metal:macro define-macro="buildlog">
115
 
    <tal:comment replace="nothing">
116
 
      Buildlog section.
117
 
    </tal:comment>
118
 
    <h2>Buildlog</h2>
119
 
    <div id="buildlog-tail" class="logtail"
120
 
         tal:define="logtail context/buildqueue_record/logtail"
121
 
         tal:content="structure logtail/fmt:text-to-html">
122
 
      <p>Things are crashing and burning all over the place.</p>
123
 
    </div>
124
 
    <p class="discreet" tal:condition="view/user">
125
 
      Updated on <span tal:replace="structure view/user/fmt:local-time"/>
126
 
    </p>
127
 
  </metal:macro>
128
 
 
129
 
</metal:macros>
130
 
 
131
 
 
132
 
  </body>
133
 
</html>