Magellan Linux

Diff of /trunk/viewvc/magellan-template/directory.ezt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4 by niro, Tue Oct 30 22:18:26 2012 UTC revision 8 by niro, Fri May 13 08:48:34 2016 UTC
# Line 4  Line 4 
4  <thead>  <thead>
5  <tr>  <tr>
6    <th class="vc_header[is sortby "file"]_sort[end]" colspan="2">    <th class="vc_header[is sortby "file"]_sort[end]" colspan="2">
7      <a href="[sortby_file_href]#dirlist">File      [if-any sortby_file_href]<a href="[sortby_file_href]#dirlist">File</a>[else]File[end]
8      [is sortby "file"]      [is sortby "file"]
9        <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"        <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
10          width="13" height="13"          width="13" height="13"
11          src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />          src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
12      [end]      [end]
     </a>  
13    </th>    </th>
14    <th class="vc_header[is sortby "rev"]_sort[end]">    <th class="vc_header[is sortby "rev"]_sort[end]">
15      <a href="[sortby_rev_href]#dirlist">Rev.     [if-any sortby_rev_href]<a href="[sortby_rev_href]#dirlist">Rev.</a>[else]Rev.[end]
16      [is sortby "rev"]      [is sortby "rev"]
17        <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"        <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
18          width="13" height="13"          width="13" height="13"
19          src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />          src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
20      [end]      [end]
     </a>  
21    </th>    </th>
22    <th class="vc_header[is sortby "date"]_sort[end]">    <th class="vc_header[is sortby "date"]_sort[end]">
23      <a href="[sortby_date_href]#dirlist">Age      [if-any sortby_date_href]<a href="[sortby_date_href]#dirlist">Age</a>[else]Age[end]
24      [is sortby "date"]      [is sortby "date"]
25        <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"        <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
26          width="13" height="13"          width="13" height="13"
27          src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />          src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
28      [end]      [end]
     </a>  
29    </th>    </th>
30    <th class="vc_header[is sortby "author"]_sort[end]">    <th class="vc_header[is sortby "author"]_sort[end]">
31      <a href="[sortby_author_href]#dirlist">Author      [if-any sortby_author_href]<a href="[sortby_author_href]#dirlist">Author</a>[else]Author[end]
32      [is sortby "author"]      [is sortby "author"]
33        <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"        <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
34          width="13" height="13"          width="13" height="13"
35          src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />          src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
36      [end]      [end]
     </a>  
37    </th>    </th>
38  [is cfg.options.show_logs "1"]  [is cfg.options.show_logs "1"]
39    <th class="vc_header[is sortby "log"]_sort[end]">    <th class="vc_header[is sortby "log"]_sort[end]">
40      <a href="[sortby_log_href]#dirlist">Last log entry      [if-any sortby_log_href]<a href="[sortby_log_href]#dirlist">Last log entry</a>[else]Last log entry[end]
41      [is sortby "log"]      [is sortby "log"]
42        <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"        <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
43          width="13" height="13"          width="13" height="13"
44          src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />          src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
45      [end]      [end]
     </a>  
46    </th>    </th>
47  [end]  [end]
48  </tr>  </tr>
# Line 58  Line 53 
53    <tr class="vc_row_odd">    <tr class="vc_row_odd">
54      <td colspan="2">      <td colspan="2">
55        <a href="[up_href]">        <a href="[up_href]">
56        <img src="[docroot]/images/back_small.png" alt="" width="16" height="16"        <img src="[docroot]/images/back_small.png" alt="" class="vc_icon"
57        />&nbsp;Parent&nbsp;Directory</a>        />&nbsp;Parent&nbsp;Directory</a>
58      </td>      </td>
59      <td>&nbsp;</td>      <td>&nbsp;</td>
# Line 77  Line 72 
72         [else]         [else]
73         <a name="[entries.anchor]" href="[entries.log_href]" title="View file revision log">         <a name="[entries.anchor]" href="[entries.log_href]" title="View file revision log">
74         [end]         [end]
75         <img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is entries.state "dead"]broken[else]text[end][end].png" alt="" width="16" height="16" />         <img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is entries.state "dead"]broken[else]text[end][end].png" alt="" class="vc_icon" />
76         [entries.name][is entries.pathtype "dir"]/[end]</a>         [entries.name][is entries.pathtype "dir"]/[end]</a>
77         [is entries.state "dead"](dead)[end]         [is entries.state "dead"](dead)[end]
78       </td>       </td>
# Line 85  Line 80 
80         <td style="width:1%"><a href="[entries.graph_href]"         <td style="width:1%"><a href="[entries.graph_href]"
81         title="View Revision Graph"><img         title="View Revision Graph"><img
82         src="[docroot]/images/cvsgraph_16x16.png"         src="[docroot]/images/cvsgraph_16x16.png"
83         alt="View Revision Graph" width="16" height="16" />         alt="View Revision Graph" class="vc_icon" />
84         </a></td>         </a></td>
85       [end]       [end]
86       [if-any entries.errors]       [if-any entries.errors]
# Line 96  Line 91 
91         [is entries.pathtype "dir"]         [is entries.pathtype "dir"]
92         <td>&nbsp;[if-any entries.rev]<a href="[entries.log_href]" title="View directory revision log"><strong>[entries.rev]</strong></a>[end]</td>         <td>&nbsp;[if-any entries.rev]<a href="[entries.log_href]" title="View directory revision log"><strong>[entries.rev]</strong></a>[end]</td>
93         [else]         [else]
94         <td>&nbsp;[if-any entries.rev]<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"><strong>[entries.rev]</strong></a>[end]</td>         [define rev_href][if-any entries.prefer_markup][entries.view_href][else][if-any entries.download_href][entries.download_href][end][end][end]
95           <td style="white-space: nowrap;">&nbsp;[if-any entries.rev][if-any rev_href]<a href="[rev_href]" title="[if-any entries.prefer_markup]View[else]Download[end] file contents">[end]<strong>[entries.rev]</strong>[if-any rev_href]</a>[end][end]
96           [if-any entries.lockinfo]<img src="[docroot]/images/lock.png" alt="locked" class="vc_icon" title="Locked by [entries.lockinfo]" />[end]
97           </td>
98         [end]         [end]
99         <td>&nbsp;[entries.ago]</td>         <td>&nbsp;[entries.ago]</td>
100         <td>&nbsp;[entries.author]</td>         <td>&nbsp;[entries.author]</td>
101         [is cfg.options.show_logs "1"]         [is cfg.options.show_logs "1"]
102           [if-any entries.log]           <td>&nbsp;
103             <td>&nbsp;[entries.log][is entries.pathtype "dir"][is roottype "cvs"]           [if-any entries.short_log]
104               <em>(from [entries.log_file]/[entries.log_rev])</em>[end][end]</td>             [if-any entries.log_rev]
105           [else]               <em>(from [entries.log_file]/[entries.log_rev])</em>
106             <td>&nbsp;</td>               [entries.short_log]
107               [else][if-any entries.rev]
108                 [entries.short_log]
109               [end][end]
110           [end]           [end]
111        [end]           </td>
112      [end]         [end]
113         [end]
114    </tr>    </tr>
115  [end]  [end]
116  </tbody>  </tbody>

Legend:
Removed from v.4  
changed lines
  Added in v.8