[Bps-public-commit] rt-extension-quickupdate branch, master, updated. 809735dad21f804a9692704b87604d764fd32692
sartak at bestpractical.com
sartak at bestpractical.com
Wed Mar 10 05:48:36 EST 2010
The branch, master has been updated
via 809735dad21f804a9692704b87604d764fd32692 (commit)
via 454133875eaa827e45c13baac6c9b24ec5285e24 (commit)
via 77d07d2139b5ca8baf8bf69ccb1ed7302f9add69 (commit)
from 2e70964b4d6c0cb844573bf7d3dd80766082e0d4 (commit)
Summary of changes:
.gitignore | 9 +++
.../Ticket/Elements/ShowSummary/RightColumnTop | 13 ++++
html/Ticket/Elements/QuickUpdate | 74 ++++++++++++++++++++
3 files changed, 96 insertions(+), 0 deletions(-)
create mode 100644 html/Callbacks/QuickUpdate/Ticket/Elements/ShowSummary/RightColumnTop
create mode 100755 html/Ticket/Elements/QuickUpdate
- Log -----------------------------------------------------------------
commit 77d07d2139b5ca8baf8bf69ccb1ed7302f9add69
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Mar 10 05:39:23 2010 -0500
Add the QuickUpdate template
diff --git a/html/Ticket/Elements/QuickUpdate b/html/Ticket/Elements/QuickUpdate
new file mode 100755
index 0000000..a3bf893
--- /dev/null
+++ b/html/Ticket/Elements/QuickUpdate
@@ -0,0 +1,74 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%#
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2010 Best Practical Solutions, LLC
+%# <jesse at bestpractical.com>
+%#
+%# (Except where explicitly superseded by other copyright notices)
+%#
+%#
+%# LICENSE:
+%#
+%# This work is made available to you under the terms of Version 2 of
+%# the GNU General Public License. A copy of that license should have
+%# been provided with this software, but in any event can be snarfed
+%# from www.gnu.org.
+%#
+%# This work is distributed in the hope that it will be useful, but
+%# WITHOUT ANY WARRANTY; without even the implied warranty of
+%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%# General Public License for more details.
+%#
+%# You should have received a copy of the GNU General Public License
+%# along with this program; if not, write to the Free Software
+%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%#
+%#
+%# CONTRIBUTION SUBMISSION POLICY:
+%#
+%# (The following paragraph is not intended to limit the rights granted
+%# to you to modify and distribute this software under the terms of
+%# the GNU General Public License and is only of importance to you if
+%# you choose to contribute your changes and enhancements to the
+%# community by submitting them to Best Practical Solutions, LLC.)
+%#
+%# By intentionally submitting any modifications, corrections or
+%# derivatives to this work, or any other work intended for use with
+%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+%# you are the copyright holder for those contributions and you grant
+%# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable,
+%# royalty-free, perpetual, license to use, copy, create derivative
+%# works based on those contributions, and sublicense and distribute
+%# those contributions and any derivatives thereof.
+%#
+%# END BPS TAGGED BLOCK }}}
+
+<input type="hidden" class="hidden" name="id" value="<% $Ticket->id %>" />
+<table>
+ <tr>
+ <td class="label">Status:</td><td> <& /Elements/SelectStatus, Name => 'Status', DefaultLabel => loc("[_1] (Unchanged)", loc($Ticket->Status)) &> </td>
+ </tr>
+ <tr>
+ <td class="label">
+<&|/l&>Owner</&>:</td><td> <& /Elements/SelectOwner, Name => 'Owner', QueueObj => $Ticket->QueueObj, TicketObj => $Ticket, Default => $Ticket->OwnerObj->Id, DefaultValue => 0&>
+ </td>
+ </tr>
+ <tr>
+ <td class="label"><&|/l&>Priority</&>:</td>
+ <td class="value"><input name="Priority" value="<%$Ticket->Priority|h%>" size="5" /></td>
+ </tr>
+ <tr>
+ <td class="label">
+<&|/l&>Queue</&>:</td><td> <& /Elements/SelectQueue, Name => 'Queue', Default => $Ticket->QueueObj->Id &>
+ </td>
+ </tr>
+</table>
+<%INIT>
+my $Ticket = LoadTicket($id);
+
+my $Queue = $Ticket->QueueObj;
+</%INIT>
+<%ARGS>
+$id
+</%ARGS>
commit 454133875eaa827e45c13baac6c9b24ec5285e24
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Mar 10 05:42:36 2010 -0500
Callback to inject QuickUpdate template
diff --git a/html/Callbacks/QuickUpdate/Ticket/Elements/ShowSummary/RightColumnTop b/html/Callbacks/QuickUpdate/Ticket/Elements/ShowSummary/RightColumnTop
new file mode 100644
index 0000000..c218499
--- /dev/null
+++ b/html/Callbacks/QuickUpdate/Ticket/Elements/ShowSummary/RightColumnTop
@@ -0,0 +1,13 @@
+<%ARGS>
+$Ticket
+</%ARGS>
+<&|/Widgets/TitleBox,
+ title => loc("Quick Update"),
+ title_href =>"$RT::WebPath/Ticket/QuickUpdate.html?id=".$Ticket->Id,
+ class => 'ticket-info-reminders'
+&>
+ <form action="<%$RT::WebPath%>/Ticket/Display.html" method="post">
+ <& /Ticket/Elements/QuickUpdate, Ticket => $Ticket, id => $Ticket->Id &>
+ <div align="right"><input type="submit" class="button" value="Save" /></div>
+ </form>
+</&>
commit 809735dad21f804a9692704b87604d764fd32692
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Mar 10 05:44:00 2010 -0500
gitignore
diff --git a/.gitignore b/.gitignore
index e69de29..54cefab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,9 @@
+*.swp
+MANIFEST
+MANIFEST.bak
+META.yml
+Makefile
+Makefile.old
+SIGNATURE
+blib/
+pm_to_blib
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list