Fix up dir_alternate.ezt template to fix bug #995121 (switch the

pathname and revision links for directories).

Previously dir_alternate.ezt was broken for CVS repositories, resulting
in a traceback since it was trying to show the log href which doesn't
exist.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@885 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/1.0.0-rc1
jhenstridge 2004-07-21 12:17:50 +00:00
parent 55bdd8cb45
commit 57c58fde9b
1 changed files with 2 additions and 2 deletions

View File

@ -74,10 +74,10 @@
[is rows.state "error"]
<td>&nbsp;</td> [# revision ]
[else]
<td>&nbsp;[is roottype "svn"]<a href="[rows.href]"><b>[rows.rev]</b></a>[end]</td>
<td>&nbsp;[is roottype "svn"]<a href="[rows.rev_href]"><b>[rows.rev]</b></a>[end]</td>
[end]
<td [is cfg.options.use_cvsgraph "1"]colspan=2[end]>
<a name="[rows.anchor]" href="[rows.rev_href]">
<a name="[rows.anchor]" href="[rows.href]">
<img src="[icons]/small/dir.gif" alt="(dir)" border=0 width=16 height=16>
[rows.name]/</a>
[is roottype "cvs"]