[Rt-commit] r14153 - in rt/branches/3.999-DANGEROUS: . share/html/Admin/CustomFields share/html/Admin/Elements share/html/Search share/html/Search/Elements

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Jul 16 08:53:39 EDT 2008


Author: sunnavy
Date: Wed Jul 16 08:53:32 2008
New Revision: 14153

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/share/html/Admin/CustomFields/index.html
   rt/branches/3.999-DANGEROUS/share/html/Admin/Elements/PickCustomFields
   rt/branches/3.999-DANGEROUS/share/html/Search/Build.html
   rt/branches/3.999-DANGEROUS/share/html/Search/Elements/ResultViews
   rt/branches/3.999-DANGEROUS/share/html/Search/Results.html
   rt/branches/3.999-DANGEROUS/t/web/cf_access.t

Log:
 r14541 at sunnavys-mb:  sunnavy | 2008-07-16 17:54:47 +0800
 tired to write the same commit messages


Modified: rt/branches/3.999-DANGEROUS/share/html/Admin/CustomFields/index.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Admin/CustomFields/index.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Admin/CustomFields/index.html	Wed Jul 16 08:53:32 2008
@@ -91,7 +91,7 @@
 
 <%args>
 $Type => ''
-$Showdisabled => 0
+$ShowDisabled => 0
 </%args>
 <%INIT>
 $Type ||= $ARGS{'type'} || '';
@@ -102,7 +102,7 @@
 
 my $CustomFields = RT::Model::CustomFieldCollection->new();
 $CustomFields->find_all_rows;
-$CustomFields->{'find_disabled_rows'} = 1 if $Showdisabled;
+$CustomFields->{'find_disabled_rows'} = 1 if $ShowDisabled;
 $CustomFields->limit_to_lookup_type( $Type ) if $Type;
 $CustomFields->order_by( { column => 'lookup_type' }, { column => 'name' } );
 </%INIT>

Modified: rt/branches/3.999-DANGEROUS/share/html/Admin/Elements/PickCustomFields
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Admin/Elements/PickCustomFields	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Admin/Elements/PickCustomFields	Wed Jul 16 08:53:32 2008
@@ -54,7 +54,7 @@
 <tr>
 %   if (!$ReadOnly) {
   <td valign="top">
-<input type="checkbox" class="checkbox" name="object-<%$id%>-CF-<%$CustomfieldObj->id%>" value="1" <% $Checked ? 'checked="checked"' : '' %>
+<input type="checkbox" class="checkbox" name="object-<%$id%>-CF-<%$CustomFieldObj->id%>" value="1" <% $Checked ? 'checked="checked"' : '' %>
 />
   </td>
 %   }

Modified: rt/branches/3.999-DANGEROUS/share/html/Search/Build.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Search/Build.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Search/Build.html	Wed Jul 16 08:53:32 2008
@@ -294,7 +294,7 @@
 
 # {{{ Show the results, if we were asked.
 
-if ( $ARGS{'DoSearch'} ) {
+if ( $ARGS{'do_search'} ) {
     $m->comp( 'Results.html', %query );
     $m->comp( '/Elements/Footer' );
     $m->abort;

Modified: rt/branches/3.999-DANGEROUS/share/html/Search/Elements/ResultViews
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Search/Elements/ResultViews	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Search/Elements/ResultViews	Wed Jul 16 08:53:32 2008
@@ -53,26 +53,26 @@
 $order_by => undef
 $order => undef
 $RSSFeedURL => undef
-$Shortquery_string => undef
+$short_query_string => undef
 
 </%args>
 <ul class="search-result-views">
-<li><a href="<%RT->config->get('WebPath')%>/Search/Results.tsv<%$QueryString%>"><&|/l&>Spreadsheet</&></a></li>
+<li><a href="<%RT->config->get('WebPath')%>/Search/Results.tsv<%$query_string%>"><&|/l&>Spreadsheet</&></a></li>
 <li><a href="<%$RSSFeedURL%>"><&|/l&>RSS</&></a></li>
 <li><a href="<%RT->config->get('WebURL')%>/NoAuth/iCal/<% $ical_path %>"><% _('iCal') %></a></li>
-<li><a href="<%RT->config->get('WebPath')%>/Tools/Offline.html<%$ShortQueryString%>"><&|/l&>Editable text</&></a></li>
+<li><a href="<%RT->config->get('WebPath')%>/Tools/Offline.html<%$short_query_string%>"><&|/l&>Editable text</&></a></li>
 </ul>
 <form method="get" action="<%RT->config->get('WebPath')%>/Search/Chart.html">
 % my %hiddens = (query => $query, format => $format, Rows => $Rows, order_by => $order_by, order => $order);
 % foreach my $key (keys(%hiddens)) {
 <input type="hidden" class="hidden" name="<%$key%>" value="<%defined($hiddens{$key})?$hiddens{$key}:''%>" />
 % }
-<&|/l, $m->scomp('SelectChartType', name => 'ChartStyle'), $m->scomp('SelectGroupBy', name => 'PrimaryGroupBy', Query => $Query) 
+<&|/l, $m->scomp('SelectChartType', name => 'ChartStyle'), $m->scomp('SelectGroupBy', name => 'PrimaryGroupBy', Query => $query) 
 &>%1 chart by %2</&><input type="submit" class="button" value="<%_('Go')%>" />
 </form>
 <%init>
 my $ical_path = join '/', map $m->interp->apply_escapes($_, 'u'),
     Jifty->web->current_user->user_object->name,
-    Jifty->web->current_user->user_object->generate_auth_string( $Query ),
-    $Query;
+    Jifty->web->current_user->user_object->generate_auth_string( $query ),
+    $query;
 </%init>

Modified: rt/branches/3.999-DANGEROUS/share/html/Search/Results.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Search/Results.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Search/Results.html	Wed Jul 16 08:53:32 2008
@@ -65,7 +65,7 @@
     Rows => $Rows,
     Page => $Page,
     format => $format,
-    baseURL => RT->config->get('WebPath')."/Search/Results.html?"
+    baseURL => RT->config->get('WebPath')."/Search/Results.html?",
     Class => 'RT::Model::TicketCollection',
 
    &>
@@ -157,7 +157,7 @@
                                order => $order,
                                Page => $Page);
 my $short_querystring = "?".$m->comp('/Elements/QueryString', query => $query);
-my $RSSQueryString = "?".$m->comp('/Elements/QueryString', Query => $Query, order => $order, order_by => $order_by);
+my $RSSQueryString = "?".$m->comp('/Elements/QueryString', Query => $query, order => $order, order_by => $order_by);
 my $RSSFeedURL = RT->config->get('WebPath')."/Search/Results.rdf$RSSQueryString";
 
 if ($ARGS{'TicketsRefreshInterval'}) {
@@ -168,7 +168,7 @@
 my $genpage = sub {
     return $m->comp(
         '/Elements/QueryString',
-        Query   => $Query,
+        Query   => $query,
         format  => $format,
         Rows    => $Rows,
         order_by => $order_by,

Modified: rt/branches/3.999-DANGEROUS/t/web/cf_access.t
==============================================================================
--- rt/branches/3.999-DANGEROUS/t/web/cf_access.t	(original)
+++ rt/branches/3.999-DANGEROUS/t/web/cf_access.t	Wed Jul 16 08:53:32 2008
@@ -182,7 +182,7 @@
 $m->click('AddCol');
 
 $m->form_name('build_query');
-$m->click('DoSearch');
+$m->click('do_search');
 
 $m->follow_link( text_regex => qr/bplogo\.gif/ );
 $m->content_is(ImageFileContent, "it links to the uploaded image");


More information about the Rt-commit mailing list