Magellan Linux

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

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

revision 7 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  <!-- ViewVC :: http://www.viewvc.org/ -->  <!-- ViewVC :: http://www.viewvc.org/ -->
5  <head>  <head>
6    <title>Checkin Database Query</title>    <title>Checkin Database Query</title>
7    <link rel="stylesheet" href="[docroot]/styles.css" type="text/css" />    [if-any docroot]<link rel="stylesheet" href="[docroot]/styles.css" type="text/css" />[end]
8  </head>  </head>
9    
10  <body>  <body>
11    
12  [# setup page definitions]  [# setup page definitions]
13    [define help_href][docroot]/help_query.html[end]    [define help_href][if-any docroot][docroot]/help_query.html[end][end]
14  [# end]  [# end]
15    
16    <p>    <p>
# Line 158  Line 158 
158  [is query "skipped"]  [is query "skipped"]
159  [else]  [else]
160  <p><strong>[num_commits]</strong> matches found.</p>  <p><strong>[num_commits]</strong> matches found.</p>
161    [if-any row_limit_reached]
162    <p class="vc_warning">WARNING:  These query results have been
163       artificially limited by an administrative threshold value and do
164       <em>not</em> represent the entirety of the data set which matches
165       the query.  Consider modifying your query to be more specific</a>,
166       using your version control tool's query capabilities, or asking
167       your administrator to raise the database response size
168       threshold.</p>
169    [end]
170  [if-any commits]  [if-any commits]
171  <table cellspacing="0" cellpadding="2">  <table cellspacing="0" cellpadding="2">
172   <thead>   <thead>
# Line 202  Line 210 
210        </td>        </td>
211    
212  [# uncommment, if you want a separate Description column:  [# uncommment, if you want a separate Description column:
213        {if-index commits.files first{        {if-index commits.files first}
214          <td style="vertical-align:top;" rowspan="{commits.num_files}">          <td style="vertical-align:top;" rowspan="{commits.num_files}">
215            {commits.log}            {if-any commits.log}{commits.log}{else}&nbsp;{end}
216          </td>          </td>
217        {end}        {end}
218    
219     (substitute brackets for the braces)     (substitute brackets for the braces)
220  ]  ]
221      </tr>      </tr>
222  [# and also take the following out in the "Description column"-case:]  [# and also take the following out in the "Description column" case:]
223        [if-index commits.files last]        [if-index commits.files last]
224   <tr class="vc_row_[if-index commits even]even[else]odd[end]">   <tr class="vc_row_[if-index commits even]even[else]odd[end]">
225    <td>&nbsp;</td>    <td>&nbsp;</td>
226    <td colspan="5"><strong>Log:</strong><br />    <td colspan="5"><strong>Log:</strong><br />
227      <pre class="vc_log">[commits.log]</pre></td>      <pre class="vc_log">[if-any commits.log][commits.log][else]&nbsp;[end]</pre></td>
228   </tr>   </tr>
229        [end]        [end]
230  [# ---]  [# ---]

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