Merge "Remove extraneous trailing slashes from link URLs"
This commit is contained in:
commit
1cf655eb76
@ -6,7 +6,7 @@
|
||||
<p>
|
||||
Differences between the pastes
|
||||
<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>
|
||||
{% if diff.chunks %}
|
||||
{{ render_diff_part(diff) }}
|
||||
|
@ -27,7 +27,7 @@
|
||||
{% if paste.parent %}
|
||||
<li>
|
||||
<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 %}
|
||||
</a>
|
||||
</li>
|
||||
@ -49,13 +49,13 @@
|
||||
{% endif %}
|
||||
{% if paste.parent or paste.children %}
|
||||
<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 %}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<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 %}
|
||||
</a>
|
||||
</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user