Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Side by Side Diff: templates/issue.html

Issue 1306: [issue22] non-existing deltas/equal diffs SVN Base: http://rietveld.googlecode.com/svn/trunk/
Patch Set: Created 7 months, 2 weeks ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Hide Comments ('s')
OLDNEW
1 {%extends "base.html"%} 1 {%extends "base.html"%}
2 {%block body%} 2 {%block body%}
3 <h2>Issue: {{issue.subject}} {%if issue.closed %} (Closed) {%endif%}</h2> 3 <h2>Issue: {{issue.subject}} {%if issue.closed %} (Closed) {%endif%}</h2>
4 4
5 {%if issue.draft_count%} 5 {%if issue.draft_count%}
6 <div class="error">You have <b>{{issue.draft_count}} draft</b> 6 <div class="error">You have <b>{{issue.draft_count}} draft</b>
7 comment{{issue.draft_count|pluralize}}. 7 comment{{issue.draft_count|pluralize}}.
8 Drafts are not viewable by others; use 8 Drafts are not viewable by others; use
9 <a class="novisit" href="{%url codereview.views.publish issue.key.id%}"> 9 <a class="novisit" href="{%url codereview.views.publish issue.key.id%}">
10 Publish+Mail Comments</a> ('m') to let others view them. 10 Publish+Mail Comments</a> ('m') to let others view them.
(...skipping 88 matching lines...) Show 10 above Show 10 below
99 {{patch.num_comments}} comment{{patch.num_comments|pluralize}} 99 {{patch.num_comments}} comment{{patch.num_comments|pluralize}}
100 {%if patch.num_drafts%}<span style="color:red">+ 100 {%if patch.num_drafts%}<span style="color:red">+
101 {{patch.num_drafts}} draft{{patch.num_drafts|pluralize}}</span> 101 {{patch.num_drafts}} draft{{patch.num_drafts|pluralize}}</span>
102 {%endif%} 102 {%endif%}
103 </a> 103 </a>
104 {%if patch.num_comments or patch.num_drafts%}</b>{%endif%} 104 {%if patch.num_comments or patch.num_drafts%}</b>{%endif%}
105 </td> 105 </td>
106 <td> 106 <td>
107 {%for other in patchsets%} 107 {%for other in patchsets%}
108 {%ifnotequal other patchset%} 108 {%ifnotequal other patchset%}
109 <a href="/{{issue.key.id}}/diff2/{{other.key.id}}:{{patchset.key.id}}/{{ patch.key.id}}">delta from patch set {{forloop.counter}}</a> 109 {%for opatch in other.patch_set%}
110 {%ifequal opatch.filename patch.filename%}
111 {%ifnotequal opatch.text patch.text%}
112 <a href="/{{issue.key.id}}/diff2/{{other.key.id}}:{{patchset.key.i d}}/{{patch.key.id}}">
113 delta from patch set {{forloop.parentloop.counter}}</a>
114 {%endifnotequal%}
115 {%endifequal%}
116 {%endfor%}
110 {%endifnotequal%} 117 {%endifnotequal%}
111 {%endfor%} 118 {%endfor%}
112 </td> 119 </td>
113 </tr> 120 </tr>
114 {%endfor%} 121 {%endfor%}
115 </table> 122 </table>
116 </div> 123 </div>
117 {%endfor%} 124 {%endfor%}
118 125
119 {%ifequal user issue.owner%} 126 {%ifequal user issue.owner%}
(...skipping 53 matching lines...) Show 10 above Show 10 below
173 <a href="javascript:M_hideAllComments('cl', {{messages|length}})"> 180 <a href="javascript:M_hideAllComments('cl', {{messages|length}})">
174 Collapse All Comments</a> 181 Collapse All Comments</a>
175 {%endif%} 182 {%endif%}
176 183
177 <script language="JavaScript" type="text/javascript"><!-- 184 <script language="JavaScript" type="text/javascript"><!--
178 document.onkeypress = function(evt) { return M_changelistKeyPress(evt); } 185 document.onkeypress = function(evt) { return M_changelistKeyPress(evt); }
179 // --> 186 // -->
180 </script> 187 </script>
181 188
182 {%endblock%} 189 {%endblock%}
OLDNEW
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Hide Comments ('s')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r381