Bugzilla – Attachment 3681 Details for
Bug 6063
Add JavaScript table sorter to messages table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-BUG6063-Add-tablesorter-on-memeber-messaging-table.patch (text/plain), 2.19 KB, created by
Fridolin Somers
on 2011-04-05 12:39:13 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2011-04-05 12:39:13 UTC
Size:
2.19 KB
patch
obsolete
>From a30e4094a946fd3a3dc9fd281ed8fde3f6b1b44c Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@progilone.fr> >Date: Tue, 5 Apr 2011 14:38:08 +0200 >Subject: [PATCH] BUG6063 Add tablesorter on memeber messaging table > >--- > .../prog/en/modules/members/messaging.tmpl | 18 ++++++++++++++++-- > 1 files changed, 16 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/messaging.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/messaging.tmpl >index 75bec95..c90df8e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/messaging.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/messaging.tmpl >@@ -1,6 +1,16 @@ > <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --> > <title>Koha › Patrons › <!-- TMPL_IF NAME="unknowuser" -->Patron does not exist<!-- TMPL_ELSE -->Patron Details for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_IF --></title> > <!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> >+<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script> >+<script type="text/javascript">//<![CDATA[ >+$(document).ready(function() { >+ <!-- TMPL_IF NAME="message_queue" --> >+ $("#mqt").tablesorter(); >+ <!-- /TMPL_IF --> >+}); >+//]]> >+</script> >+ > </head> > <body> > <!-- TMPL_INCLUDE NAME="header.inc" --> >@@ -42,9 +52,12 @@ > </div> > <!-- TMPL_ELSE --> > >-<table> >+<table id="mqt" class="tablesorter"> > <caption>Message Queue</caption> >- <tr><th>Type</th><th>Subject</th><th>Status</th><th>Time Prepared</th></tr> >+ <thead> >+ <tr><th>Type</th><th>Subject</th><th>Status</th><th>Time Prepared</th></tr> >+ </thead> >+ <tbody> > <!-- TMPL_IF NAME="message_queue" --> > <!-- TMPL_LOOP name="message_queue" --> > <tr><td><!-- TMPL_VAR NAME="message_transport_type" --></td><td><!-- TMPL_VAR NAME="subject" --></td><td><!-- TMPL_VAR NAME="status" --></td><td><!-- TMPL_VAR NAME="time_queued" --></td></tr> >@@ -52,6 +65,7 @@ > <!-- TMPL_ELSE --> > <tr><td colspan="4">There is no record of any messages that have been sent to this patron.</td></tr> > <!-- /TMPL_IF --> >+ </tbody> > </table> > > </div> >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6063
: 3681