1 <%doc>Copyright (C) 2009-2010 HDE, Inc.</%doc>
2 <%inherit file="../include/common.part" />
7 if type(text) == types.FloatType or \
8 type(text) == types.IntType or \
9 type(text) == types.StringType or \
10 type(text) == types.UnicodeType:
11 return time.strftime("%Y-%m-%d %H:%M:%S",time.localtime(float(text)))
16 <% pkg = rpm_detail[pkg_name] %>
18 <div id="updater_detail_display">
19 <table class="detail-contents">
21 <th>${_('General Information')}</th>
22 <td class="detail-separator">
23 <img src="${ctx.homepath}/static/images/table-space.gif">
26 <table cellspacing="0" class="border detail-sub-contents">
29 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
30 <td><pre>${pkg['name'] | h}</pre></td>
33 <th>${_('Version')}</th>
34 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
35 <td><pre>${pkg['version'] | h}</pre></td>
38 <th>${_('Release')}</th>
39 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
40 <td><pre>${pkg['release'] | h}</pre></td>
43 <th>${_('Summary')}</th>
44 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
45 <td><pre>${pkg['summary'] | h}</pre></td>
49 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
50 <td><pre>${pkg['arch'] | h}</pre></td>
54 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
55 <td><pre>${pkg['url'] | h}</pre></td>
58 <th>${_('License')}</th>
59 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
60 <td><pre>${pkg['license'] | h}</pre></td>
63 <th>${_('Vendor')}</th>
64 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
65 <td><pre>${pkg['vendor'] | h}</pre></td>
68 <th>${_('Group')}</th>
69 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
70 <td><pre>${pkg['group'] | h}</pre></td>
76 <tr><td colspan='3'><div class='detail-space'/></td></tr>
79 <th>${_('Details')}</th>
80 <td class="detail-separator">
81 <img src="${ctx.homepath}/static/images/table-space.gif">
84 <table cellspacing="0" class="border detail-sub-contents">
87 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
88 <td><pre>${pkg['size'] | h}</pre></td>
91 <th>${_('Build Host')}</th>
92 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
93 <td><pre>${pkg['buildhost'] | h}</pre></td>
97 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
98 <td><pre>${pkg['os'] | h}</pre></td>
101 <th>${_('Description')}</th>
102 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
103 <td><pre>${pkg['description'] | h}</pre></td>
106 <th>${_('Build Date')}</th>
107 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
108 <td><pre>${pkg['buildtime'] | time_format}</pre></td>
111 <th>${_('Install Date')}</th>
112 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
113 <td><pre>${pkg['installtime'] | time_format}</pre></td>
116 <th>${_('Requires')}</th>
117 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
119 % for require in pkg['requires']:
120 <pre>${require | h}</pre>
125 <th>${_('Packager')}</th>
126 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
128 % for package in pkg['packager']: