|
10 | 10 | <tr>
|
11 | 11 | <td>Bundle</td>
|
12 | 12 | <td>
|
13 |
| - <a t-esc="batch.bundle_id.name" t-attf-href="/runbot/bundle/{{batch.bundle_id.id}}"/> |
| 13 | + <a t-out="batch.bundle_id.name" t-attf-href="/runbot/bundle/{{batch.bundle_id.id}}"/> |
14 | 14 | &emsp;
|
15 | 15 | <a groups="runbot.group_runbot_advanced_user" t-attf-href="/web/#id={{batch.id}}&view_type=form&model=runbot.batch&menu_id={{env['ir.model.data']._xmlid_to_res_id('runbot.runbot_menu_root')}}" class="btn btn-default btn-sm" target="new" title="View Batch in Backend">
|
16 | 16 | <i class="fa fa-list"/>
|
|
19 | 19 | </tr>
|
20 | 20 | <tr t-if="batch.category_id.id != default_category">
|
21 | 21 | <td>Category</td>
|
22 |
| - <td t-esc="batch.category_id.name"></td> |
| 22 | + <td t-out="batch.category_id.name"></td> |
23 | 23 | </tr>
|
24 | 24 | <tr>
|
25 | 25 | <td>Version</td>
|
26 |
| - <td t-esc="batch.slot_ids[0].params_id.version_id.name if batch.slot_ids else batch.bundle_id.version_id.name"/> |
| 26 | + <td t-out="batch.slot_ids[0].params_id.version_id.name if batch.slot_ids else batch.bundle_id.version_id.name"/> |
27 | 27 | </tr>
|
28 | 28 | <tr>
|
29 | 29 | <td>Create date</td>
|
30 |
| - <td t-esc="batch.create_date"/> |
| 30 | + <td t-out="batch.create_date"/> |
31 | 31 | </tr>
|
32 | 32 | <tr t-if="more">
|
33 | 33 | <td>Last update</td>
|
34 | 34 | <td>
|
35 |
| - <t t-esc="batch.last_update"/> |
36 |
| - <span class="badge text-bg-info" t-esc="s2human(batch.last_update - batch.create_date)"/> |
| 35 | + <t t-out="batch.last_update"/> |
| 36 | + <span class="badge text-bg-info" t-out="s2human(batch.last_update - batch.create_date)"/> |
37 | 37 | </td>
|
38 | 38 | </tr>
|
39 | 39 | <tr t-if="more and batch.reference_batch_ids">
|
40 | 40 | <td>Version reference batches (for upgrade)</td>
|
41 | 41 | <td>
|
42 | 42 | <t t-foreach="batch.reference_batch_ids" t-as="reference_batch"/>
|
43 |
| - <div><a t-attf-href="/runbot/batch/{{reference_batch.id}}"><t t-esc="reference_batch.bundle_id.version_id.name"/> (<t t-esc="reference_batch.id"/>)</a></div> |
| 43 | + <div><a t-attf-href="/runbot/batch/{{reference_batch.id}}"><t t-out="reference_batch.bundle_id.version_id.name"/> (<t t-out="reference_batch.id"/>)</a></div> |
44 | 44 | </td>
|
45 | 45 | </tr>
|
46 | 46 | <tr>
|
|
54 | 54 | <i class="fa fa-fw fa-link" t-if="commit_link.match_type == 'head'" title="This commit is an existing head from bundle branches"/>
|
55 | 55 | <i class="fa fa-fw fa-code-fork" t-if="commit_link.match_type == 'base_match'" title="This commit is matched from a base batch with matching merge_base"/>
|
56 | 56 | <i class="fa fa-fw fa-clock-o" t-if="commit_link.match_type == 'base_head'" title="This commit is the head of a base branch"/>
|
57 |
| - <span class="label" t-esc="commit.dname"/> |
| 57 | + <span class="label" t-out="commit.dname"/> |
58 | 58 | </a>
|
59 | 59 | <a t-att-href="'https://%s/commit/%s' % (commit_link.branch_id.remote_id.base_url, commit_link.commit_id.name)" title="View Commit on Github"><i class="fa fa-github"/></a>
|
60 | 60 | <small t-if="commit_link.match_type and commit_link.match_type.startswith('base')">
|
61 | 61 | from base:
|
62 |
| - <span t-esc="commit_link.branch_id.name"/> |
| 62 | + <span t-out="commit_link.branch_id.name"/> |
63 | 63 | <br/>
|
64 | 64 | </small>
|
65 | 65 | <small t-else="">
|
66 | 66 | found in branch
|
67 |
| - <span t-esc="commit_link.branch_id.name"/> |
| 67 | + <span t-out="commit_link.branch_id.name"/> |
68 | 68 | <t t-if="batch.state != 'preparing'">
|
69 |
| - <span t-esc="'+%s' % commit_link.diff_add" class="text-success"/> |
70 |
| - <span t-esc="'-%s' % commit_link.diff_remove" class="text-danger"/> |
| 69 | + <span t-out="'+%s' % commit_link.diff_add" class="text-success"/> |
| 70 | + <span t-out="'-%s' % commit_link.diff_remove" class="text-danger"/> |
71 | 71 | <span class="text-info">
|
72 | 72 | (
|
73 |
| - <span t-esc="commit_link.file_changed"/> |
| 73 | + <span t-out="commit_link.file_changed"/> |
74 | 74 | <i class="fa fa-file"/>
|
75 | 75 | )
|
76 | 76 | <span io="behind">(
|
77 |
| - <span t-esc="'%s ahead' % commit_link.base_ahead" class="text-success"/> |
| 77 | + <span t-out="'%s ahead' % commit_link.base_ahead" class="text-success"/> |
78 | 78 | ,
|
79 |
| - <span t-esc="'%s behind' % commit_link.base_behind" class="text-danger"/> |
| 79 | + <span t-out="'%s behind' % commit_link.base_behind" class="text-danger"/> |
80 | 80 | )</span>
|
81 | 81 | </span>
|
82 | 82 | </t>
|
83 | 83 | <br/>
|
84 | 84 | <t t-if="more">
|
85 | 85 | Base head:
|
86 |
| - <span t-esc="commit_link.base_commit_id.name"/> |
| 86 | + <span t-out="commit_link.base_commit_id.name"/> |
87 | 87 | <br/>
|
88 | 88 | Merge base:
|
89 |
| - <span t-esc="commit_link.merge_base_commit_id.name"/> |
| 89 | + <span t-out="commit_link.merge_base_commit_id.name"/> |
90 | 90 | <br/>
|
91 | 91 | </t>
|
92 | 92 | </small>
|
93 |
| - <b t-if="commit.rebase_on_id">Automatic rebase on <t t-esc="commit.rebase_on_id.name"/><br/></b> |
| 93 | + <b t-if="commit.rebase_on_id">Automatic rebase on <t t-out="commit.rebase_on_id.name"/><br/></b> |
94 | 94 | <t t-if="more or not (commit_link.match_type and commit_link.match_type.startswith('base'))">
|
95 | 95 | Subject:
|
96 |
| - <span t-esc="commit.subject"/> |
| 96 | + <span t-out="commit.subject"/> |
97 | 97 | <br/>
|
98 | 98 | Author:
|
99 |
| - <span t-esc="commit.author"/> |
| 99 | + <span t-out="commit.author"/> |
100 | 100 | (
|
101 |
| - <span t-esc="commit.author_email"/> |
| 101 | + <span t-out="commit.author_email"/> |
102 | 102 | )
|
103 | 103 | <br/>
|
104 | 104 | <t t-if="commit.author != commit.committer">
|
105 | 105 | Committer:
|
106 |
| - <span t-esc="commit.committer"/> |
| 106 | + <span t-out="commit.committer"/> |
107 | 107 | (
|
108 |
| - <span t-esc="commit.committer_email"/> |
| 108 | + <span t-out="commit.committer_email"/> |
109 | 109 | )
|
110 | 110 | <br/>
|
111 | 111 | </t>
|
112 | 112 | Commit date:
|
113 |
| - <span t-esc="commit.date"/> |
| 113 | + <span t-out="commit.date"/> |
114 | 114 | <br/>
|
115 | 115 | </t>
|
116 | 116 | <hr/>
|
|
155 | 155 | <t t-foreach="batch.log_ids" t-as="log">
|
156 | 156 | <t t-set="logclass" t-value="dict(ERROR='danger', WARNING='warning', INFO='info').get(log.level, 'warning')"/>
|
157 | 157 | <div t-attf-class="alert alert-{{logclass}}">
|
158 |
| - <b t-esc="log.level"/> |
| 158 | + <b t-out="log.level"/> |
159 | 159 | --
|
160 | 160 | <t t-out="log._markdown()"/>
|
161 | 161 | </div>
|
|
0 commit comments