Offer download of lodgeit.py with link to plain file on cgit

The current link is to the 'tree' version.  If the user right-clicks
and selects "save as", the file will be downloaded as an HTML file.

If the user clicks through to the tree page, another click is needed
on the "plain" link to either download the file with "save link as"
or to navigate to the plain link and then download.

Link directly to the "plain" page instead. This allows users to
directly download the file with "save link as".

Change-Id: I5d6a2f299ee264e5f06f68f72933a575b9042945
This commit is contained in:
David Pursehouse 2015-08-24 11:20:01 +09:00
parent bfaffa7ddc
commit 3e244a31fb
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
"multi-file" formatter.{% endtrans %}</p>
<p>
<strong>{% trans %}Download:{% endtrans %}</strong>
<a href="http://git.openstack.org/cgit/openstack-infra/lodgeit/tree/scripts/lodgeit.py">lodgeit.py</a>
<a href="http://git.openstack.org/cgit/openstack-infra/lodgeit/plain/scripts/lodgeit.py">lodgeit.py</a>
</p>
<h3>{% trans %}Vim Support{% endtrans %}</h3>
<p>{% trans %}