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

Unified Diff: templates/base.html

Issue 1008: Issue navigation bar (Closed) SVN Base: http://rietveld.googlecode.com/svn/trunk/
Patch Set: Created 3 months, 3 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 side by-side-diff with in-line comments
Download patch
« no previous file | templates/diff.html » ('j') | Expand Comments ('e') | Collapse Comments ('c') | Hide Comments ('s')
Index: templates/base.html
===================================================================
--- templates/base.html (Revision 101)
+++ templates/base.html (Arbeitskopie)
@@ -70,7 +70,28 @@
</div>
<hr />
+{% if issue %}
<div>
+ Issue: <a class="novisit" href="{%url codereview.views.show issue.key.id%}" title="Issue #{{issue.key.id}}: {{issue.subject}}">{{issue.subject|truncatewords:6}}</a>
+ |
+ {%ifequal issue.owner user %}
+ <a class="novisit" href="{%url codereview.views.edit issue.key.id%}">Edit
+ Issue</a>
+ {%else%}
+ <span class="disabled">Can't Edit/Delete</span>
+ {%endifequal%}
+ |
+ {%if user%}
+ <a class="novisit" href="{%url codereview.views.publish issue.key.id%}">Publish+Mail
+ Comments</a>
+ {%else%}
+ <span class="disabled">Can't Publish+Mail</span>
+ {%endif%}
+</div>
+<hr />
+{% endif %}
+
+<div>
{%block body%}BODY GOES HERE{%endblock%}
</div>
« no previous file | templates/diff.html » ('j')

Powered by Google App Engine
This is Rietveld r305