Fix directory templates to properly handle missing graph_href's (like,

for example, which using Subversion).  This fixes #Bugs item #793866,
reported by Timothee Besset.

* templates/dir_alternate.ezt
* templates/directory.ezt


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@704 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/1.0.0-rc1
cmpilato 2003-08-24 05:06:41 +00:00
parent f6b2ba3649
commit 5e834c47e7
2 changed files with 18 additions and 10 deletions

View File

@ -242,11 +242,15 @@ href="[docroot]/help_[if-any where]dir[else]root[end]view.html">ViewCVS and CVS
[if-any view_tag](not&nbsp;exist)[else](in&nbsp;the&nbsp;Attic)[end][if-any attic_showing]&nbsp;<a href="[hide_attic_href]#dirlist">[[]hide][end]</a>
[end]
</td>
[if-any rows.graph_href]
<td width="1%"><a href="[rows.graph_href]"><img
src="[docroot]/images/cvsgraph_16x16.png"
alt="(graph)" width=16 height=16 border=0>
</a></td>
[is cfg.options.use_cvsgraph "1"]
[if-any rows.graph_href]
<td width="1%"><a href="[rows.graph_href]"><img
src="[docroot]/images/cvsgraph_16x16.png"
alt="(graph)" width=16 height=16 border=0>
</a></td>
[else]
<td>&nbsp;</td>
[end]
[end]
<td>&nbsp;[rows.time]</td>

View File

@ -235,11 +235,15 @@ href="[docroot]/help_[if-any where]dir[else]root[end]view.html">ViewCVS and CVS
[if-any view_tag](not&nbsp;exist)[else](in&nbsp;the&nbsp;Attic)[end][if-any attic_showing]&nbsp;<a href="[hide_attic_href]#dirlist">[[]hide][end]</a>
[end]
</td>
[if-any rows.graph_href]
<td width="1%"><a href="[rows.graph_href]"><img
src="[docroot]/images/cvsgraph_16x16.png"
alt="(graph)" width=16 height=16 border=0>
</a></td>
[is cfg.options.use_cvsgraph "1"]
[if-any rows.graph_href]
<td width="1%"><a href="[rows.graph_href]"><img
src="[docroot]/images/cvsgraph_16x16.png"
alt="(graph)" width=16 height=16 border=0>
</a></td>
[else]
<td>&nbsp;</td>
[end]
[end]
<td>&nbsp;