Bugzilla – Attachment 33693 Details for
Bug 13302
Use CSS3 ellipsis for email address in staff client patron sidebar
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13302 - Use CSS3 ellipsis for email address in staff client patron sidebar
Bug-13302---Use-CSS3-ellipsis-for-email-address-in.patch (text/plain), 2.13 KB, created by
Owen Leonard
on 2014-11-19 19:38:30 UTC
(
hide
)
Description:
Bug 13302 - Use CSS3 ellipsis for email address in staff client patron sidebar
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-11-19 19:38:30 UTC
Size:
2.13 KB
patch
obsolete
>From 18c02c15cc4160f4d40112f58f5bf41798478ebf Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 19 Nov 2014 14:31:31 -0500 >Subject: [PATCH] Bug 13302 - Use CSS3 ellipsis for email address in staff > client patron sidebar >Content-Type: text/plain; charset="utf-8" > >This patch replaces the email address text overflow solution implemented >by Bug 3256 with a CSS3 technique: text-overflow: ellipsis > >https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow > >To test, apply the patch and clear your browser cache. Edit the primary >email address of a patron so that it is very long. View that patron in >the staff client (on the checkout or details page, for instance) and >confirm that the email address is truncated with "..." > >Confirm that the link and the title attribute of the link contain the >correct, full email address. >--- > .../intranet-tmpl/prog/en/css/staff-global.css | 15 +++++---------- > koha-tmpl/intranet-tmpl/prog/img/elipsis.gif | Bin 51 -> 0 bytes > 2 files changed, 5 insertions(+), 10 deletions(-) > delete mode 100644 koha-tmpl/intranet-tmpl/prog/img/elipsis.gif > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >index ab80d4c..8ee85c7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >@@ -1366,17 +1366,12 @@ h1#logo a { > vertical-align: middle; > } > >-li.email a { >- display:block; >- overflow:hidden; >- width:13em; >-} > li.email { >- background: #FFF url(../../img/elipsis.gif) right bottom no-repeat; >- font-size : 87%; >- overflow:hidden; >- padding :0 10px 0 0; >- width:13em; >+ font-size : 87%; >+ overflow: hidden; >+ text-overflow: ellipsis; >+ padding : 0 10px 0 0; >+ width: 15em; > } > > .empty { >diff --git a/koha-tmpl/intranet-tmpl/prog/img/elipsis.gif b/koha-tmpl/intranet-tmpl/prog/img/elipsis.gif >deleted file mode 100644 >index 15ed1563d711f23e69e669c800a96921a0e0e1d2..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 51 >zcmZ?wbhEHb<YeGvXkcVuU^w&t|9{1wEI=kBgAR}n6z61MVB+fOUwQg%Lc)YRQ3h)O >DKQavY > >-- >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 13302
:
33693
|
33701
|
47507
|
47549
|
47576