/[viewvc-templates]/query_results.ezt
ViewVC logotype

Contents of /query_results.ezt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download)
Sun Sep 17 09:20:00 2017 UTC (15 months ago) by zsolt
File size: 3647 byte(s)
Initial version.

This version is a copy of standard ViewVC template.

1 [# setup page definitions]
2 [define page_title]Query results on /[where][end]
3 [define help_href][docroot]/help_rootview.html[end]
4 [# end]
5
6 [include "include/header.ezt"]
7
8 <p><strong>[english_query]</strong></p>
9 [# <!-- {sql} --> ]
10 [if-any row_limit_reached]
11 <p class="vc_warning">WARNING: These query results have been
12 artificially limited by an administrative threshold value and do
13 <em>not</em> represent the entirety of the data set which matches
14 the query. Consider <a href="[queryform_href]">modifying your
15 query to be more specific</a>, using your version control tool's
16 query capabilities, or asking your administrator to raise the
17 database response size threshold.</p>
18 [end]
19 <p><a href="[queryform_href]">Modify query</a></p>
20 <p><a href="[backout_href]">Show commands which could be used to back out these changes</a></p>
21
22 <p><strong>+[plus_count]/-[minus_count]</strong> lines changed.</p>
23
24 [if-any commits]
25 <table cellspacing="1" cellpadding="2">
26 <thead>
27 <tr>
28 <th class="vc_header">Revision</th>
29 <th class="vc_header[is querysort "file"]_sort[end]">File</th>
30 [if-any show_branch]
31 <th class="vc_header">Branch</th>
32 [end]
33 <th class="vc_header">+/-</th>
34 <th class="vc_header[is querysort "date"]_sort[end]">Date</th>
35 <th class="vc_header[is querysort "author"]_sort[end]">Author</th>
36 [# uncommment, if you want a separate Description column: (also see below)
37 <th class="vc_header">Description</th>
38 ]
39 </tr>
40 </thead>
41 [for commits]
42 [for commits.files]
43 <tbody>
44 <tr class="vc_row_[if-index commits even]even[else]odd[end]">
45 <td style="vertical-align: top;">
46 [define rev_href][if-any commits.files.prefer_markup][commits.files.view_href][else][if-any commits.files.download_href][commits.files.download_href][end][end][end]
47 [if-any commits.files.rev][if-any rev_href]<a href="[rev_href]">[end][commits.files.rev][if-any rev_href]</a>[end][else]&nbsp;[end]
48 </td>
49 <td style="vertical-align: top;">
50 <a href="[commits.files.dir_href]">[commits.files.dir]/</a>
51 <a href="[commits.files.log_href]">[commits.files.file]</a>
52 </td>
53 [if-any show_branch]
54 <td style="vertical-align: top;">
55 [if-any commits.files.branch][commits.files.branch][else]&nbsp;[end]
56 </td>
57 [end]
58 <td style="vertical-align: top;">
59 [# only show a diff link for changes ]
60 [is commits.files.type "Add"]<ins>[end]
61 [is commits.files.type "Change"]<a href="[commits.files.diff_href]">[end]
62 [is commits.files.type "Remove"]<del>[end]
63 [commits.files.plus]/[commits.files.minus]
64 [is commits.files.type "Add"]</ins>[end]
65 [is commits.files.type "Change"]</a>[end]
66 [is commits.files.type "Remove"]</del>[end]
67 </td>
68 <td style="vertical-align: top;">
69 [if-any commits.files.date][commits.files.date][else]&nbsp;[end]
70 </td>
71 <td style="vertical-align: top;">
72 [if-any commits.files.author][commits.files.author][else]&nbsp;[end]
73 </td>
74 </tr>
75 [end]
76 [if-any commits.limited_files]
77 <tr class="vc_row_[if-index commits even]even[else]odd[end]">
78 <td>&nbsp;</td>
79 <td colspan="5">
80 <strong><em><small>Only first [commits.num_files] files shown.
81 <a href="[limit_changes_href]">Show all files</a> or
82 <a href="[queryform_href]">adjust limit</a>.</small></em></strong>
83 </tr>
84 [end]
85 <tr class="vc_row_[if-index commits even]even[else]odd[end]">
86 <td>&nbsp;</td>
87 <td colspan="5"><strong>Log:</strong><br />
88 <pre class="vc_log">[commits.log]</pre></td>
89 </tr>
90 </tbody>
91 [end]
92 </table>
93 [end]
94
95 [include "include/footer.ezt"]

  ViewVC Help
Powered by ViewVC 1.1.26