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

Side by Side Diff: templates/diff.html

Issue 12680047: Add SVN Annotate and Revision Log links in diff view
Patch Set: fix extra space after link Created 12 years, 3 months ago
Left:
Right:
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 with comments | « codereview/views.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {%extends "issue_base.html"%} 1 {%extends "issue_base.html"%}
2 {%block body%} 2 {%block body%}
3 3
4 <script language="JavaScript" type="text/javascript"><!-- 4 <script language="JavaScript" type="text/javascript"><!--
5 document.onkeydown = M_keyDown; 5 document.onkeydown = M_keyDown;
6 {%if user%} 6 {%if user%}
7 logged_in = true; 7 logged_in = true;
8 {%else%} 8 {%else%}
9 logged_in = false; 9 logged_in = false;
10 login_warned = false; 10 login_warned = false;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 {% endfor %} 71 {% endfor %}
72 </select> 72 </select>
73 </div> 73 </div>
74 {%if patch%} 74 {%if patch%}
75 <div style="margin-top: 5px;"> 75 <div style="margin-top: 5px;">
76 <a href="{%url codereview.views.patch issue.key.id,patchset.key.id,patch.key .id%}{%urlappend_view_settings%}"> 76 <a href="{%url codereview.views.patch issue.key.id,patchset.key.id,patch.key .id%}{%urlappend_view_settings%}">
77 View unified diff</a> 77 View unified diff</a>
78 | 78 |
79 <a href="{%url codereview.views.download_patch issue.key.id,patchset.key.id, patch.key.id%}" 79 <a href="{%url codereview.views.download_patch issue.key.id,patchset.key.id, patch.key.id%}"
80 title="Download patch for {{patch.filename}}"> 80 title="Download patch for {{patch.filename}}">
81 Download patch 81 Download patch</a>
82 </a> 82 {%if src_url%}
83 | <a href="{{src_url}}{{patch.filename}}?annotate=HEAD" target="blank">Annot ate</a>
84 | <a href="{{src_url}}{{patch.filename}}?view=log#revHEAD" target="blank">Re vision Log</a>
85 {%endif%}
83 </div> 86 </div>
84 {%endif%} 87 {%endif%}
85 {%if user%} 88 {%if user%}
86 <div style="margin-top: 5px;"> 89 <div style="margin-top: 5px;">
87 <a class="novisit" href="{%url codereview.views.publish issue.key.id%}">Publ ish+Mail 90 <a class="novisit" href="{%url codereview.views.publish issue.key.id%}">Publ ish+Mail
88 Comments</a> ('m') 91 Comments</a> ('m')
89 | 92 |
90 <a class="novisit" href="javascript:draftMessage.dialog_show()">Edit draft m essage</a> ('M') 93 <a class="novisit" href="javascript:draftMessage.dialog_show()">Edit draft m essage</a> ('M')
91 </div> 94 </div>
92 {%endif%} 95 {%endif%}
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 N/P to move between comments. 166 N/P to move between comments.
164 {%if user%} 167 {%if user%}
165 Double-click a line to add a draft in-line comment. 168 Double-click a line to add a draft in-line comment.
166 <br><span style="color:red">Draft comments are only viewable by you;</span> 169 <br><span style="color:red">Draft comments are only viewable by you;</span>
167 use <b>Publish+Mail Comments</b> ('m') to let others view them. 170 use <b>Publish+Mail Comments</b> ('m') to let others view them.
168 {%else%} 171 {%else%}
169 Please <a href="{{sign_in}}">Sign in</a> to add in-line comments. 172 Please <a href="{{sign_in}}">Sign in</a> to add in-line comments.
170 {%endif%} 173 {%endif%}
171 </div> 174 </div>
172 {%endblock%} 175 {%endblock%}
OLDNEW
« no previous file with comments | « codereview/views.py ('k') | no next file » | no next file with comments »

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