Bugzilla – Attachment 9862 Details for
Bug 7167
updatedatabase improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7167 follow-up display tweaking
Bug-7167-follow-up-display-tweaking.patch (text/plain), 3.99 KB, created by
Paul Poulain
on 2012-05-31 13:53:33 UTC
(
hide
)
Description:
Bug 7167 follow-up display tweaking
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2012-05-31 13:53:33 UTC
Size:
3.99 KB
patch
obsolete
>From ced2b754a39d5bfd04557fe0f1fa18db8d126d2b Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Thu, 31 May 2012 15:52:39 +0200 >Subject: [PATCH] Bug 7167 follow-up display tweaking > > * changing datatable look to have the same as other places where datatable is used > * removing some ul/li that made comment, query and errors be displayed in a tiny width > * reordering header and adding missing datatables-strings.inc >--- > .../prog/en/modules/admin/updatedatabase.tt | 27 +++++++++----------- > 1 file changed, 12 insertions(+), 15 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/updatedatabase.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/updatedatabase.tt >index cc03be0..014dd84 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/updatedatabase.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/updatedatabase.tt >@@ -1,16 +1,17 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Administration › Update Database</title> >-<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> > [% INCLUDE 'doc-head-close.inc' %] >+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> >+[% INCLUDE 'datatables-strings.inc' %] > <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> >+ > <script type="text/javascript"> > //<![CDATA[ > $(document).ready(function() { >- $("#versionst").dataTable({ >- 'bAutoWidth': false, >- 'sPaginationType': 'full_numbers' >- } ); >+ $("#versionst").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "sPaginationType": "four_button", >+ })); > } ); > function see_details(a){ > var div = $(a).siblings('div'); >@@ -87,11 +88,9 @@ > <tr> > <td>[% v.version %]</td> > <td> >- <ul class="comments"> > [% FOREACH c IN v.comments %] >- <li>[% c.comment %]</li> >+ [% c.comment %] > [% END %] >- </ul> > </td> > <td> > [% IF v.available %] >@@ -117,7 +116,7 @@ > Already executed > [% END %] > </td> >- <td> >+ <td width="50%"> > <div class="details" style="display:none;"> > [% IF v.available %] > Unknown >@@ -125,11 +124,9 @@ > [% ELSE %] > <div class="queries" style="display:block;"> > <span class="underline">Queries</span> : >- <ul> > [% FOREACH q IN v.queries %] >- <li>[% q.query %]</li> >+ [% q.query %] > [% END %] >- </ul> > </div> > [% IF v.status == 1 %] > <div class="status" style="display:block;"> >@@ -149,11 +146,11 @@ > </div> > <div class="errors" style="display:block;"> > <span class="underline">Errors</span> : >- <ul class="errors"> >+ <span class="errors"> > [% FOREACH e IN v.errors %] >- <li>[% e.error %]</li> >+ <span>[% e.error %]</span> > [% END %] >- </ul> >+ </span> > </div> > [% END %] > [% END %] >-- >1.7.9.5
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 7167
:
6377
|
6378
|
6379
|
6381
|
6414
|
6415
|
6416
|
6476
|
6477
|
6478
|
6479
|
6722
|
6832
|
7903
|
8178
|
9859
|
9860
|
9861
|
9862
|
10033
|
10034
|
10549
|
10666
|
10667
|
10668
|
10825
|
11129
|
11222
|
11223
|
11224
|
11225
|
11226
|
11227
|
11228
|
11229
|
11230
|
11231
|
11232
|
11235
|
11236
|
11237
|
11238
|
11239
|
11240
|
11241
|
11242
|
11243
|
11244
|
11245
|
11246
|
11571
|
13423
|
13424
|
13425
|
13426
|
13427
|
13428
|
13429
|
13430
|
13431
|
13432
|
13433
|
13434
|
13435
|
13436
|
13437
|
13456
|
13457
|
13509
|
13516
|
13517
|
13518
|
13519
|
13520
|
13521
|
13522
|
13523
|
13524
|
13525
|
13526
|
13527
|
13528
|
13529
|
13733
|
13734
|
13842
|
13845
|
13848
|
13851
|
13852
|
13853
|
13854
|
14310
|
16113
|
16114
|
16115
|
16116
|
16117
|
16596