| OLD | NEW |
| 1 {%extends "issue_base.html"%} | 1 {%extends "issue_base.html"%} |
| 2 | 2 |
| 3 {%block head%}{{form.media}}{%endblock%} | 3 {%block head%}{{form.media}}{%endblock%} |
| 4 {%block issue_body%} | 4 {%block issue_body%} |
| 5 {%if issue.draft_count or has_draft_message%} | 5 {%if issue.draft_count or has_draft_message%} |
| 6 <div class="error"> | 6 <div class="error"> |
| 7 You have {%if issue.draft_count%}<b>{{issue.draft_count}} draft</b> | 7 You have {%if issue.draft_count%}<b>{{issue.draft_count}} draft</b> |
| 8 comment{{issue.draft_count|pluralize}}{%endif%} | 8 comment{{issue.draft_count|pluralize}}{%endif%} |
| 9 {%if has_draft_message%}{%if issue.draft_count%}and {%endif%}a draft | 9 {%if has_draft_message%}{%if issue.draft_count%}and {%endif%}a draft |
| 10 message{%endif%}. | 10 message{%endif%}. |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 <div id="messages"> | 111 <div id="messages"> |
| 112 <div style="margin-bottom: .5em;"> | 112 <div style="margin-bottom: .5em;"> |
| 113 <a href="javascript:M_showAllComments('cl', {{messages|length}})"> | 113 <a href="javascript:M_showAllComments('cl', {{messages|length}})"> |
| 114 Expand All Messages</a> | 114 Expand All Messages</a> |
| 115 | | 115 | |
| 116 <a href="javascript:M_hideAllComments('cl', {{messages|length}})"> | 116 <a href="javascript:M_hideAllComments('cl', {{messages|length}})"> |
| 117 Collapse All Messages</a> | 117 Collapse All Messages</a> |
| 118 </div> | 118 </div> |
| 119 | 119 |
| 120 {%for message in messages%} | 120 {%for message in messages%} |
| 121 <div class="message {%if message.issue_was_closed%}issue_was_closed{%endif %} {%if message.approval%}approval{%endif%} {%if message.disapproval%}disapprova l{%endif%}" | 121 <div class="message{%if message.issue_was_closed%} issue_was_closed{%endif %}{%if message.approval%} approval{%endif%}{%if message.disapproval%} disapprova l{%endif%}{%if message.automated%} automated{%endif%}{%if message.verbose%} verb ose{%endif%}" |
| 122 id="msg{{forloop.counter}}" | 122 id="msg{{forloop.counter}}" |
| 123 name="{{forloop.counter0}}"> | 123 name="{{forloop.counter0}}"> |
| 124 <div class="header"> | 124 <div class="header"> |
| 125 <table border="0" width="100%" cellspacing="0" cellpadding="0"> | 125 <table border="0" width="100%" cellspacing="0" cellpadding="0"> |
| 126 <tr class="comment_title" | 126 <tr class="comment_title" |
| 127 onclick="M_switchChangelistComment({{forloop.counter0}})"> | 127 onclick="M_switchChangelistComment({{forloop.counter0}})"> |
| 128 <td style="padding-left: 5px; white-space: nowrap;"> | 128 <td style="padding-left: 5px; white-space: nowrap;"> |
| 129 <b>{%nickname message.sender%}</b> | 129 <b>{%nickname message.sender%}</b> |
| 130 </td> | 130 </td> |
| 131 <td width="100%" style="overflow:hidden;"> | 131 <td width="100%" style="overflow:hidden;"> |
| 132 <table style="table-layout:fixed; white-space: nowrap;" | 132 <table style="table-layout:fixed; white-space: nowrap;" |
| 133 width="100%"> | 133 width="100%"> |
| 134 <tr> | 134 <tr> |
| 135 <td> | 135 <td> |
| 136 <span style="white-space: nowrap; overflow: hidden;{%if fo rloop.last%} display: none;{%endif%}" | 136 <span style="white-space: nowrap; overflow: hidden;{%if fo rloop.last%} display: none;{%endif%}" |
| 137 class="extra" | 137 class="extra" |
| 138 id="cl-preview-{{forloop.counter0}}"> | 138 id="cl-preview-{{forloop.counter0}}"> |
| 139 {{message.text|truncatewords:15}} | 139 {{message.text|truncatewords:15}} |
| 140 </span> | 140 </span> |
| 141 </td> | 141 </td> |
| 142 </tr> | 142 </tr> |
| 143 </table> | 143 </table> |
| 144 </td> | 144 </td> |
| 145 <td align="right" | 145 <td align="right" |
| 146 style="white-space: nowrap; padding-right: 5px; padding-left: 3px;"> | 146 style="white-space: nowrap; padding-right: 5px; padding-left: 3px;"> |
| 147 {{message.date|timesince}} ago | 147 {{message.date|timesince}} ago |
| 148 {% if message.automated %} |
| 149 {% if message.verbose %} |
| 150 <img src="/static/automated_verbose.png" title="This message was automated and verbose." |
| 151 style="vertical-align: top;" /> |
| 152 {%else%} |
| 153 <img src="/static/automated.png" title="This message was aut omated." |
| 154 style="vertical-align: top;" /> |
| 155 {%endif%} |
| 156 {%else%} |
| 157 <div style="vertical-align: top; height: 16px; width: 16px; display: inline-block;" ></div> |
| 158 {%endif%} |
| 148 <a href="#msg{{forloop.counter}}">#{{forloop.counter}}</a> | 159 <a href="#msg{{forloop.counter}}">#{{forloop.counter}}</a> |
| 149 </td> | 160 </td> |
| 150 </tr> | 161 </tr> |
| 151 </table> | 162 </table> |
| 152 </div> | 163 </div> |
| 153 | 164 |
| 154 <div id="cl-comment-{{forloop.counter0}}" | 165 <div id="cl-comment-{{forloop.counter0}}" |
| 155 {%if forloop.last%}{%else%}style="display: none;"{%endif%}> | 166 {%if forloop.last%}{%else%}style="display: none;"{%endif%}> |
| 156 <div class="message-body"> | 167 <div class="message-body"> |
| 157 {%if message.issue_was_closed%} | 168 {%if message.issue_was_closed%} |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 <div style="display:none;"> | 215 <div style="display:none;"> |
| 205 <form method="POST" action="{%url codereview.views.publish issue.key.id%}" | 216 <form method="POST" action="{%url codereview.views.publish issue.key.id%}" |
| 206 id="message-reply-form"> | 217 id="message-reply-form"> |
| 207 <input type="hidden" name="xsrf_token" value="{{xsrf_token}}"> | 218 <input type="hidden" name="xsrf_token" value="{{xsrf_token}}"> |
| 208 <div></div> | 219 <div></div> |
| 209 <input type="hidden" name="in_reply_to" value="" /> | 220 <input type="hidden" name="in_reply_to" value="" /> |
| 210 <input type="hidden" name="subject" value="{{issue.subject}}" /> | 221 <input type="hidden" name="subject" value="{{issue.subject}}" /> |
| 211 <input type="hidden" name="message_only" value="1" /> | 222 <input type="hidden" name="message_only" value="1" /> |
| 212 <input type="submit" value="Send Message" /> | 223 <input type="submit" value="Send Message" /> |
| 213 <input type="button" value="Discard" name="discard" /> | 224 <input type="button" value="Discard" name="discard" /> |
| 214 <input type="checkbox" name="send_mail" value="1" | 225 <input type="checkbox" name="send_mail" value="1" |
| 215 id="message-reply-send-mail" checked="checked" /> | 226 id="message-reply-send-mail" checked="checked" /> |
| 216 <label>Send mail to reviewers</label> | 227 <label>Send mail to reviewers</label> |
| 217 </form> | 228 </form> |
| 218 </div> | 229 </div> |
| 219 <a id="resizer" class="resizer" style="display:none;cursor:pointer"> | 230 <a id="resizer" class="resizer" style="display:none;cursor:pointer"> |
| 220 <img src="{{media_url}}zippyplus.gif"> | 231 <img src="{{media_url}}zippyplus.gif"> |
| 221 </a> | 232 </a> |
| 222 {%endif%} | 233 {%endif%} |
| 223 | 234 |
| 224 {%endblock%} | 235 {%endblock%} |
| OLD | NEW |