Bugzilla – Attachment 25656 Details for
Bug 10865
Don't show list permissions when adding public lists/sharing lists is not allowed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10865 [Follow-up] Add style to warning
Bug-10865-Follow-up-Add-style-to-warning.patch (text/plain), 3.31 KB, created by
Marcel de Rooy
on 2014-02-26 15:30:47 UTC
(
hide
)
Description:
Bug 10865 [Follow-up] Add style to warning
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2014-02-26 15:30:47 UTC
Size:
3.31 KB
patch
obsolete
>From bdfd16eab64727238715f57200b289d9ce2051e9 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 25 Feb 2014 13:00:30 -0500 >Subject: [PATCH] Bug 10865 [Follow-up] Add style to warning >Content-Type: text/plain; charset=utf-8 > >This patch adds a new "hint" class for displaying information relating >to a form field. On the list edit screen the hint also has an alert >class to highlight it. >--- > koha-tmpl/opac-tmpl/bootstrap/css/opac.css | 7 +++++++ > .../opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/less/opac.less | 4 ++++ > koha-tmpl/opac-tmpl/bootstrap/less/responsive.less | 3 +++ > 4 files changed, 15 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/opac.css b/koha-tmpl/opac-tmpl/bootstrap/css/opac.css >index 99719d5..542ecd2 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/css/opac.css >+++ b/koha-tmpl/opac-tmpl/bootstrap/css/opac.css >@@ -744,6 +744,10 @@ fieldset.rows li.lradio label { > width: auto; > margin: 0 0 0 1em; > } >+fieldset.rows .hint { >+ display: block; >+ margin-left: 11em; >+} > fieldset.action { > clear: both; > float: none; >@@ -2357,6 +2361,9 @@ a.reviewlink:visited { > fieldset.rows ol { > margin-left: 0; > } >+ fieldset.rows .hint { >+ margin-left: 0; >+ } > body { > padding: 0; > } >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >index 39159cc..7d77432 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >@@ -559,7 +559,7 @@ > [% END %] > </select> > [% IF ( category2 && !OpacAllowPublicListCreation ) %] >- The library has disabled the ability for patrons to create new public lists. If you make your list private, you will not be able to make it public again. >+ <span class="hint alert alert-info">The library has disabled the ability for patrons to create new public lists. If you make your list private, you will not be able to make it public again.</span> > [% END %] > </li> > [% INCLUDE list_permissions %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less >index 4e1e422..0737cfa 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less >+++ b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less >@@ -733,6 +733,10 @@ fieldset { > } > } > } >+ .hint { >+ display: block; >+ margin-left : 11em; >+ } > } > &.action { > clear : both; >diff --git a/koha-tmpl/opac-tmpl/bootstrap/less/responsive.less b/koha-tmpl/opac-tmpl/bootstrap/less/responsive.less >index 4714ee7..5b4ed29 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/less/responsive.less >+++ b/koha-tmpl/opac-tmpl/bootstrap/less/responsive.less >@@ -81,6 +81,9 @@ > ol { > margin-left : 0; > } >+ .hint { >+ margin-left: 0; >+ } > } > } > body { >-- >1.7.7.6
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 10865
:
20955
|
25056
|
25058
|
25137
|
25168
|
25202
|
25203
|
25552
|
25621
|
25623
|
25655
|
25656
|
26074
|
26075
|
26076
|
26077
|
26923
|
26934
|
26935
|
26936
|
26937