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-e597b4017df7remotes/tags/1.0.0-rc1
parent
f6b2ba3649
commit
5e834c47e7
|
@ -242,11 +242,15 @@ href="[docroot]/help_[if-any where]dir[else]root[end]view.html">ViewCVS and CVS
|
|||
[if-any view_tag](not exist)[else](in the Attic)[end][if-any attic_showing] <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> </td>
|
||||
[end]
|
||||
[end]
|
||||
|
||||
<td> [rows.time]</td>
|
||||
|
|
|
@ -235,11 +235,15 @@ href="[docroot]/help_[if-any where]dir[else]root[end]view.html">ViewCVS and CVS
|
|||
[if-any view_tag](not exist)[else](in the Attic)[end][if-any attic_showing] <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> </td>
|
||||
[end]
|
||||
[end]
|
||||
|
||||
<td>
|
||||
|
|
Loading…
Reference in New Issue