Bugzilla – Attachment 69519 Details for
Bug 15707
Add ability to define hierarchical groups of libraries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15707 [QA Followup] - Switch to treetable which Koha already uses
Bug-15707-QA-Followup---Switch-to-treetable-which-.patch (text/plain), 2.45 KB, created by
Jonathan Druart
on 2017-12-05 16:59:30 UTC
(
hide
)
Description:
Bug 15707 [QA Followup] - Switch to treetable which Koha already uses
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-12-05 16:59:30 UTC
Size:
2.45 KB
patch
obsolete
>From 5dcce2066ca94de65ad22a2219eff4a46ba6e5e8 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 19 Apr 2016 13:33:39 +0000 >Subject: [PATCH] Bug 15707 [QA Followup] - Switch to treetable which Koha > already uses > >--- > .../intranet-tmpl/prog/en/modules/admin/library_groups.tt | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt >index 4e25a549fc..6880b82139 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt >@@ -1,15 +1,16 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Administration › Library groups</title> > [% INCLUDE 'doc-head-close.inc' %] >-<script type="text/javascript" src="[% interface %]/lib/jquery-treegrid/js/jquery.treegrid.min.js"></script> >-<script type="text/javascript" src="[% interface %]/lib/jquery-treegrid/js/jquery.treegrid.bootstrap2.js"></script> >-<link rel="stylesheet" href="[% interface %]/lib/jquery-treegrid/css/jquery.treegrid.css"> >+<link href="[% interface %]/lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css" rel="stylesheet" type="text/css" /> >+<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/treetable/jquery.treetable.js"></script> > <script type="text/javascript"> > //<![CDATA[ > $(document).ready(function() { >- $('#library-groups').treegrid( >+ $(".library-groups").treetable( > { >- 'saveState': true >+ expandable: true, >+ initialState: "expanded", >+ clickableNodeNames: true, > } > ); > }); >@@ -94,7 +95,7 @@ > </div> > > [% FOREACH root_group IN root_groups %] >- <table id="library-groups" class="tree"> >+ <table class="library-groups" class="tree"> > <tr> > <th> </th> > <th>Description</th> >@@ -202,7 +203,7 @@ > [% INCLUDE 'intranet-bottom.inc' %] > > [% BLOCK tree %] >- <tr class="treegrid-[% group.id %] treegrid-parent-[% group.parent_id %]"> >+ <tr data-tt-id="[% group.id %]" data-tt-parent-id="[% group.parent_id %]"> > <td> > [% IF group.branchcode %] > <i class="fa fa-home"></i> [% group.branchcode %] >-- >2.11.0
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 15707
:
47479
|
47480
|
47481
|
47482
|
47483
|
47484
|
47728
|
47729
|
47730
|
47731
|
47732
|
47733
|
47734
|
47849
|
47850
|
47851
|
47852
|
47853
|
47854
|
47855
|
47868
|
47869
|
47870
|
47871
|
47872
|
47873
|
47874
|
48072
|
50400
|
50401
|
50402
|
50403
|
50404
|
50405
|
50406
|
50407
|
50408
|
52267
|
52268
|
52269
|
52270
|
52271
|
52272
|
52273
|
52274
|
52275
|
52367
|
52370
|
52562
|
52563
|
52564
|
52565
|
52566
|
52567
|
52568
|
52569
|
52570
|
52571
|
52572
|
52573
|
52574
|
52575
|
57080
|
57081
|
57082
|
57083
|
57084
|
57085
|
57086
|
57087
|
57088
|
57089
|
57090
|
57091
|
57092
|
57093
|
58086
|
60504
|
60505
|
60506
|
60507
|
60508
|
60509
|
60510
|
60511
|
60512
|
60513
|
60514
|
60515
|
60516
|
60517
|
60518
|
60572
|
60573
|
60574
|
60575
|
60576
|
60577
|
60578
|
60579
|
60580
|
60581
|
60582
|
60583
|
60584
|
60585
|
60586
|
60587
|
60755
|
60756
|
60757
|
60758
|
60759
|
60760
|
60761
|
60762
|
60763
|
60764
|
60765
|
60766
|
60767
|
60768
|
60769
|
60770
|
60771
|
65666
|
65667
|
65668
|
65669
|
65670
|
65671
|
65672
|
65673
|
65674
|
65675
|
65676
|
65677
|
65678
|
65679
|
65680
|
65681
|
69514
|
69515
|
69516
|
69517
|
69518
|
69519
|
69520
|
69521
|
69522
|
69523
|
69524
|
69525
|
69526
|
69527
|
69528
|
69529
|
69573
|
69574
|
69575
|
69576
|
69577
|
69578
|
69579
|
69580
|
69581
|
69582
|
69583
|
69584
|
69585
|
69586
|
69587
|
69588
|
69589