Merge "Remove extraneous trailing slashes from link URLs"
This commit is contained in:
commit
1cf655eb76
@ -6,7 +6,7 @@
|
|||||||
<p>
|
<p>
|
||||||
Differences between the pastes
|
Differences between the pastes
|
||||||
<a href="{{ old.url|e }}">#{{ old.identifier }}</a> ({{ old.pub_date|datetimeformat }})
|
<a href="{{ old.url|e }}">#{{ old.identifier }}</a> ({{ old.pub_date|datetimeformat }})
|
||||||
and <a href="{{ new.url|e }}">#{{ new.identifier }}</a> ({{ new.pub_date|datetimeformat }}). Download as <a href="/unidiff/{{ old.identifier }}/{{ new.identifier }}/">unified diff</a>.
|
and <a href="{{ new.url|e }}">#{{ new.identifier }}</a> ({{ new.pub_date|datetimeformat }}). Download as <a href="{{ url_for('pastes/unidiff_paste', new_id=new.identifier, old_id=old.identifier ) }}">unified diff</a>.
|
||||||
</p>
|
</p>
|
||||||
{% if diff.chunks %}
|
{% if diff.chunks %}
|
||||||
{{ render_diff_part(diff) }}
|
{{ render_diff_part(diff) }}
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
{% if paste.parent %}
|
{% if paste.parent %}
|
||||||
<li>
|
<li>
|
||||||
<a class="autoclose"
|
<a class="autoclose"
|
||||||
href="{{ url_for('pastes/compare_paste', new_id=paste.identifier, old_id=paste.parent.identifier ) }}/">
|
href="{{ url_for('pastes/compare_paste', new_id=paste.identifier, old_id=paste.parent.identifier ) }}">
|
||||||
{% trans %}compare it with the parent paste{% endtrans %}
|
{% trans %}compare it with the parent paste{% endtrans %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@ -49,13 +49,13 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if paste.parent or paste.children %}
|
{% if paste.parent or paste.children %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ url_for('pastes/show_tree', identifier=paste.identifier) }}/">
|
<a href="{{ url_for('pastes/show_tree', identifier=paste.identifier) }}">
|
||||||
{% trans %}show paste tree{% endtrans %}
|
{% trans %}show paste tree{% endtrans %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ url_for('pastes/raw_paste', identifier=paste.identifier) }}/">
|
<a href="{{ url_for('pastes/raw_paste', identifier=paste.identifier) }}">
|
||||||
{% trans %}download paste{% endtrans %}
|
{% trans %}download paste{% endtrans %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user