Author: jens7677
Date: 2007-04-28 19:44:12-0700
New Revision: 1636
Modified:
templates-contrib/1.0/viewsvn/templates/directory.ezt
Log:
* templates-contrib/1.0/viewsvn/templates/directory.ezt
Fixed some indentation and whitespace glitches
Modified: templates-contrib/1.0/viewsvn/templates/directory.ezt
Url:
http://viewvc.tigris.org/source/browse/viewvc/templates-contrib/1.0/viewsvn/templates/directory.ezt?view=diff&rev=1636&p1=templates-contrib/1.0/viewsvn/templates/directory.ezt&p2=templates-contrib/1.0/viewsvn/templates/directory.ezt&r1=1635&r2=1636
==============================================================================
--- templates-contrib/1.0/viewsvn/templates/directory.ezt (original)
+++ templates-contrib/1.0/viewsvn/templates/directory.ezt 2007-04-28
19:44:12-0700
@@ -5,54 +5,54 @@
<tr>
<th class="vc_header[is sortby "file"]_sort[end]" colspan="2">
<a href="[sortby_file_href]#dirlist">File</a>
- <a href="[sortby_file_href]#dirlist" class="img">
- [is sortby "file"]
+ <a href="[sortby_file_href]#dirlist" class="img">
+ [is sortby "file"]
<img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
width="13" height="13"
src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
[end]
- </a>
+ </a>
</th>
<th class="vc_header[is sortby "rev"]_sort[end]">
<a href="[sortby_rev_href]#dirlist">Rev.</a>
- <a href="[sortby_rev_href]#dirlist" class="img">
+ <a href="[sortby_rev_href]#dirlist" class="img">
[is sortby "rev"]
<img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
width="13" height="13"
src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
[end]
- </a>
+ </a>
</th>
<th class="vc_header[is sortby "date"]_sort[end]">
<a href="[sortby_date_href]#dirlist">Age</a>
- <a href="[sortby_date_href]#dirlist" class="img">
+ <a href="[sortby_date_href]#dirlist" class="img">
[is sortby "date"]
<img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
width="13" height="13"
src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
[end]
- </a>
+ </a>
</th>
<th class="vc_header[is sortby "author"]_sort[end]">
<a href="[sortby_author_href]#dirlist">Author</a>
- <a href="[sortby_author_href]#dirlist" class="img">
+ <a href="[sortby_author_href]#dirlist" class="img">
[is sortby "author"]
<img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
width="13" height="13"
src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
[end]
- </a>
+ </a>
</th>
[is cfg.options.show_logs "1"]
<th class="vc_header[is sortby "log"]_sort[end]">
<a href="[sortby_log_href]#dirlist">Last log entry</a>
- <a href="[sortby_log_href]#dirlist" class="img">
+ <a href="[sortby_log_href]#dirlist" class="img">
[is sortby "log"]
<img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
width="13" height="13"
src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
[end]
- </a>
+ </a>
</th>
[end]
</tr>
@@ -62,8 +62,9 @@
[if-any up_href]
<tr class="vc_row_odd">
<td colspan="2">
- <a href="[up_href]" class="img"><img
src="[docroot]/images/tortoisesvn/back_small.png" alt="" width="16"
height="16"/></a>
- <a href="[up_href]">Parent Directory</a>
+ <a href="[up_href]" class="img"><img
src="[docroot]/images/tortoisesvn/back_small.png" alt="" width="16"
height="16"/></a>
+
+ <a href="[up_href]">Parent Directory</a>
</td>
<td> </td>
<td> </td>
@@ -76,29 +77,33 @@
[for entries]
<tr class="vc_row_[if-index entries even]even[else]odd[end]">
<td[if-any entries.graph_href][else] colspan="2"[end]>
- [is entries.pathtype "dir"]
- <a href="[entries.view_href]" title="View directory contents"
class="img">
- <img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is
entries.state "dead"]broken[else]text[end][end].png" alt="View directory
contents" width="16" height="16" /></a>
+ [is entries.pathtype "dir"]
+ <a href="[entries.view_href]" title="View directory contents"
class="img">
+ <img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is
entries.state "dead"]broken[else]text[end][end].png" alt="View directory
contents" width="16" height="16" />
+ </a>
+
[else]
- <a href="[if-any
entries.prefer_markup][entries.view_href][else][entries.download_href][end]"
title="[if-any entries.prefer_markup]View[else]Download[end] file contents"
class="img">
- <img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is
entries.state "dead"]broken[else]text[end][end].png" alt="[if-any
entries.prefer_markup]View[else]Download[end] file contents" width="16"
height="16" /></a>
+ <a href="[if-any
entries.prefer_markup][entries.view_href][else][entries.download_href][end]"
title="[if-any entries.prefer_markup]View[else]Download[end] file contents"
class="img">
+ <img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is
entries.state "dead"]broken[else]text[end][end].png" alt="[if-any
entries.prefer_markup]View[else]Download[end] file contents" width="16"
height="16" />
+ </a>
+
[end]
[is entries.state "dead"](dead)[end]
- [is entries.pathtype "dir"]
- <a href="[entries.view_href]" title="View directory contents">
+ [is entries.pathtype "dir"]
+ <a href="[entries.view_href]" title="View directory contents">
[else]
- <a href="[if-any
entries.prefer_markup][entries.view_href][else][entries.download_href][end]"
title="[if-any entries.prefer_markup]View[else]Download[end] file contents">
+ <a href="[if-any
entries.prefer_markup][entries.view_href][else][entries.download_href][end]"
title="[if-any entries.prefer_markup]View[else]Download[end] file contents">
[end]
[entries.name][is entries.pathtype "dir"]/[end]</a>
[is entries.state "dead"](dead)[end]
</td>
[if-any entries.graph_href]
- <td style="width:1%"><a href="[entries.graph_href]"
- title="View Revision Graph"><img
- src="[docroot]/images/cvsgraph_16x16.png"
- alt="View Revision Graph" width="16" height="16" />
- </a></td>
+ <td style="width:1%">
+ <a href="[entries.graph_href]" title="View Revision Graph">
+ <img src="[docroot]/images/cvsgraph_16x16.png" alt="View Revision
Graph" width="16" height="16" />
+ </a>
+ </td>
[end]
[if-any entries.errors]
<td colspan=[is cfg.options.show_logs "1"]4[else]3[end]>
@@ -106,9 +111,9 @@
</td>
[else]
[is entries.pathtype "dir"]
- <td> [if-any entries.rev]<a href="[entries.log_href]" title="View
directory revision log"><strong>[entries.rev]</strong></a>[end]</td>
+ <td> [if-any entries.rev]<a href="[entries.log_href]"
title="View directory revision log"><strong>[entries.rev]</strong></a>[end]</td>
[else]
- <td> [if-any entries.rev]<a name="[entries.anchor]"
href="[entries.log_href]" title="View file revision
log"><strong>[entries.rev]</strong></a>[end]</td>
+ <td> [if-any entries.rev]<a name="[entries.anchor]"
href="[entries.log_href]" title="View file revision
log"><strong>[entries.rev]</strong></a>[end]</td>
[end]
<td> [entries.ago]</td>
<td> [entries.author]</td>
|