|
39 | 39 |
|
40 | 40 | <fieldset> |
41 | 41 | <legend>classification</legend> |
42 | | - <div class='container-fluid'> |
| 42 | + <div class='container-fluid' tal:condition="not:context/is_edit_ok"> |
| 43 | + <dl class='dl-horizontal'> |
| 44 | + <dt i18n:translate="">Title</dt> |
| 45 | + <dd tal:content="structure context/title/plain"></dd> |
| 46 | + <dt i18n:translate="">Type</dt> |
| 47 | + <dd tal:content="structure context/type/plain"></dd> |
| 48 | + <dt i18n:translate="">Components</dt> |
| 49 | + <dd tal:content="structure context/components/plain"></dd> |
| 50 | + <dt i18n:translate="">Version</dt> |
| 51 | + <dd tal:content="structure context/versions/plain"></dd> |
| 52 | + </dl> |
| 53 | + </div> |
| 54 | + <div class='container-fluid' tal:condition="context/is_edit_ok"> |
43 | 55 | <!-- TITLE --> |
44 | 56 | <div class='control-group vspace-two' tal:condition="context/title/is_edit_ok"> |
45 | 57 | <label class='control-label' for='bug_title' i18n:translate="">Title</label> |
46 | 58 | <div class='controls'> |
47 | 59 | <input class='input-xxlarge' type='text' name='title' id='bug_title' tal:attributes="value context/title"> |
48 | 60 | </div> |
49 | 61 | </div> |
50 | | - <div class='control-group vspace-two' tal:condition="not:context/title/is_edit_ok"> |
51 | | - <label class='control-label' i18n:translate="">Title</label> |
52 | | - <div class='controls'> |
53 | | - <span class='input-xxlarge uneditable-input' tal:content="structure context/title/plain"></span> |
54 | | - </div> |
55 | | - </div> |
56 | 62 |
|
57 | 63 | <div class='row-fluid'> |
58 | 64 | <!-- TYPE --> |
|
116 | 122 |
|
117 | 123 | <fieldset> |
118 | 124 | <legend>process</legend> |
119 | | - <div class='container-fluid'> |
| 125 | + <div class='container-fluid' tal:condition="not:context/is_edit_ok"> |
| 126 | + <div class='row-fluid'> |
| 127 | + <dl class='dl-horizontal span6'> |
| 128 | + <dt i18n:translate="">Status</dt> |
| 129 | + <dd tal:content="structure context/status/plain"></dd> |
| 130 | + <dt i18n:translate="">Resolution</dt> |
| 131 | + <dd tal:content="structure context/resolution/plain"></dd> |
| 132 | + <dt i18n:translate="">Dependencies</dt> |
| 133 | + <dd tal:content="structure context/dependencies/plain"></dd> |
| 134 | + <dt i18n:translate="">Superseder</dt> |
| 135 | + <dd tal:content="structure context/superseder/plain"></dd> |
| 136 | + </dl> |
| 137 | + <dl class='dl-horizontal span6'> |
| 138 | + <dt i18n:translate="">Assigned to</dt> |
| 139 | + <dd tal:content="structure context/assignee/plain"></dd> |
| 140 | + <dt i18n:translate="">Nosy list</dt> |
| 141 | + <dd tal:content="structure context/nosy/plain"></dd> |
| 142 | + <dt i18n:translate="">Priority</dt> |
| 143 | + <dd tal:content="structure context/priority/plain"></dd> |
| 144 | + <dt i18n:translate="">Keywords</dt> |
| 145 | + <dd tal:content="structure context/keywords/plain"></dd> |
| 146 | + </dl> |
| 147 | + </div> |
| 148 | + </div> |
| 149 | + <div class='container-fluid' tal:condition="context/is_edit_ok"> |
120 | 150 | <div class='row-fluid vspace-two'></div> |
121 | 151 | <div class='row-fluid' tal:condition="context/id"> |
122 | 152 | <!-- Status --> |
|
196 | 226 | <span tal:condition="context/nosy/is_edit_ok" |
197 | 227 | tal:replace="structure python:db.user.classhelp('username,realname,address', property='nosy')" /> |
198 | 228 | <span tal:replace="structure context/nosy/field" /> |
| 229 | + </div> |
199 | 230 | </div> |
200 | 231 | </div> <!-- row-fluid --> |
201 | 232 |
|
|
0 commit comments