rietveld/templates/patch.html

5.5 KiB

{%extends "issue_base.html"%} {%block body%} {%if user%}

{%endif%}

Unified Diff: {{patch.filename}}

{%ifnotequal patch.nav_type "patch"%} Side-by-side diff isn't available for this file because of its large size. {%endifnotequal%}
{%include "issue_star.html"%} Issue {{issue.key.id}}: {{issue.subject}} {%if issue.closed %} (Closed) {%endif%} {%if issue.base%}Base URL: {{issue.base}}{%endif%}
Patch Set: {%if patchset.message%}{{patchset.message}}{%endif%} Created {{patchset.created|timesince}} ago {%if patchset.url%}, Downloaded from: {{patchset.url}} {%endif%}
Use n/p to move between diff chunks; N/P to move between comments. {%if user%} Double-click a line to add a draft in-line comment.
Draft comments are only viewable by you; use Publish+Mail Comments ('m') to let others view them. {%else%} Please Sign in to add in-line comments. {%endif%}
{%if column_width and context%} {%endif%}
Jump to: {% for jump_patch in patchset.patch_set %} {{jump_patch.filename}} {% endfor %}
{%if not patch.no_base_file%}
View side-by-side diff with in-line comments
{%endif%} {%if user%}
Publish+Mail Comments ('m') | Edit draft message ('M')
{%endif%}
{%include "file_navigation.html"%}
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
{%if patch.is_binary%} {%else%} {%for row in rows%}{{row|safe}}{%endfor%}
{%endif%}
{%include "file_navigation.html"%}
{%include "draft_message.html"%} {%endblock%}