[Rt-commit] rt branch, 4.6-theme/tools-pages, updated. rt-4.4.4-203-g8e9403a81
Craig Kaiser
craig at bestpractical.com
Wed May 15 11:33:49 EDT 2019
The branch, 4.6-theme/tools-pages has been updated
via 8e9403a817bf104bb39f27a11be1ea304e447f08 (commit)
from 69da685e385a726894b9a44b333f10c25df5091a (commit)
Summary of changes:
share/html/Approvals/Elements/PendingMyApproval | 64 +++++++++++++------------
1 file changed, 33 insertions(+), 31 deletions(-)
- Log -----------------------------------------------------------------
commit 8e9403a817bf104bb39f27a11be1ea304e447f08
Author: Craig Kaiser <craig at bestpractical.com>
Date: Wed May 1 15:18:13 2019 -0400
Migrate tools pages for new theme
diff --git a/share/html/Approvals/Elements/PendingMyApproval b/share/html/Approvals/Elements/PendingMyApproval
index a1157b504..0e63b0930 100644
--- a/share/html/Approvals/Elements/PendingMyApproval
+++ b/share/html/Approvals/Elements/PendingMyApproval
@@ -54,50 +54,52 @@
% }
% }
-<div class="col-md-12">
- <&| /Widgets/TitleBox, title => loc("Search for approvals") &>
+<&| /Widgets/TitleBox, title => loc("Search for approvals") &>
- <div class="form-row">
- <div class="custom-control custom-checkbox">
- <input class="custom-control-input" type="checkbox" value="1" id="ShowPending" name="ShowPending"
- <%((!$ARGS{'ShowRejected'} && !$ARGS{'ShowResolved'}) ||
- $ARGS{'ShowPending'})
- && qq[checked="checked"] |n%>
- />
- <label class="custom-control-label" for="ShowPending"><&|/l&>Show pending requests</&></label>
- </div>
+ <div class="form-row">
+ <div class="custom-control custom-checkbox">
+ <input class="custom-control-input" type="checkbox" value="1" id="ShowPending" name="ShowPending"
+ <%((!$ARGS{'ShowRejected'} && !$ARGS{'ShowResolved'}) ||
+ $ARGS{'ShowPending'})
+ && qq[checked="checked"] |n%>
+ />
+ <label class="custom-control-label" for="ShowPending"><&|/l&>Show pending requests</&></label>
</div>
+ </div>
- <div class="form-row">
- <div class="custom-control custom-checkbox">
- <input type="checkbox" class="custom-control-input" value="1" id="ShowResolved" name="ShowResolved" <% defined($ARGS{'ShowResolved'}) && $ARGS{'ShowResolved'} && qq[checked="checked"] |n%> />
- <label class="custom-control-label" for="ShowResolved"><&|/l&>Show approved requests</&></label><br />
- </div>
+ <div class="form-row">
+ <div class="custom-control custom-checkbox">
+ <input type="checkbox" class="custom-control-input" value="1" id="ShowResolved" name="ShowResolved" <% defined($ARGS{'ShowResolved'}) && $ARGS{'ShowResolved'} && qq[checked="checked"] |n%> />
+ <label class="custom-control-label" for="ShowResolved"><&|/l&>Show approved requests</&></label><br />
</div>
+ </div>
- <div class="form-row">
- <div class="custom-control custom-checkbox">
- <input type="checkbox" class="custom-control-input" value="1" id="ShowRejected" name="ShowRejected" <% defined($ARGS{'ShowRejected'}) && $ARGS{'ShowRejected'} && qq[checked="checked"] |n%> />
- <label class="custom-control-label" for="ShowRejected"><&|/l&>Show denied requests</&></label><br />
- </div>
+ <div class="form-row">
+ <div class="custom-control custom-checkbox">
+ <input type="checkbox" class="custom-control-input" value="1" id="ShowRejected" name="ShowRejected" <% defined($ARGS{'ShowRejected'}) && $ARGS{'ShowRejected'} && qq[checked="checked"] |n%> />
+ <label class="custom-control-label" for="ShowRejected"><&|/l&>Show denied requests</&></label><br />
</div>
+ </div>
- <div class="form-row">
- <div class="custom-control custom-checkbox">
- <input type="checkbox" class="custom-control-input" value="1" id="ShowDependent" name="ShowDependent" <% defined($ARGS{'ShowDependent'}) && $ARGS{'ShowDependent'} && qq[checked="checked"] |n%> />
- <label class="custom-control-label" for="ShowDependent"><&|/l&>Show requests awaiting other approvals</&></label><br />
- </div>
+ <div class="form-row">
+ <div class="custom-control custom-checkbox">
+ <input type="checkbox" class="custom-control-input" value="1" id="ShowDependent" name="ShowDependent" <% defined($ARGS{'ShowDependent'}) && $ARGS{'ShowDependent'} && qq[checked="checked"] |n%> />
+ <label class="custom-control-label" for="ShowDependent"><&|/l&>Show requests awaiting other approvals</&></label><br />
</div>
+ </div>
- <div class="form-row form-inline">
- <&|/l_unsafe, qq{<input type='text' size='15' class="form-control datepicker" value='}.($created_before->IsSet &&$created_before->ISO(Timezone => 'user'))."' name='CreatedBefore' id='CreatedBefore' autocomplete='off' />"&>Only show approvals for requests created before [_1]</&><br />
+ <div class="form-inline">
+ <div class="col-md-auto">
+ <&|/l_unsafe, qq{<input type='text' size='15' class="form-control datepicker" value='}.($created_before->IsSet &&$created_before->ISO(Timezone => 'user'))."' name='CreatedBefore' id='CreatedBefore' autocomplete='off' />"&>Only show approvals for requests created before [_1]</&>
</div>
+ </div>
- <div class="form-row form-inline">
+ <div class="form-inline">
+ <div class="col-md-auto">
<&|/l_unsafe, qq{<input type='text' size='15' class="form-control datepicker" value='}.( $created_after->IsSet && $created_after->ISO(Timezone => 'user'))."' name='CreatedAfter' id='CreatedAfter' autocomplete='off' />"&>Only show approvals for requests created after [_1]</&>
</div>
- </&>
-</div>
+ </div>
+</&>
<%init>
my $tickets = RT::Tickets->new( $session{'CurrentUser'} );
-----------------------------------------------------------------------
More information about the rt-commit
mailing list