Browse Source

[FIX][website_mass_mailing_name] Show disabled name. (#83)

[FIX]website_mass_mailing_name: Show disabled name.

When the snippet appears as disabled, do not hide the name field.
pull/342/merge
Jairo Llopis 8 years ago
parent
commit
0b1930cf53
  1. 2
      website_mass_mailing_name/static/src/css/website_mass_mailing_name.css
  2. 2
      website_mass_mailing_name/static/src/css/website_mass_mailing_name.css.map
  3. 4
      website_mass_mailing_name/static/src/css/website_mass_mailing_name.sass

2
website_mass_mailing_name/static/src/css/website_mass_mailing_name.css

@ -3,7 +3,7 @@
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). */ * License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). */
.js_subscribe .form-control { .js_subscribe .form-control {
width: 50%; } width: 50%; }
.js_subscribe[data-subscribe=on] .js_subscribe_name {
.js_subscribe[data-subscribe="on"] .js_subscribe_name:not([disabled]) {
display: none; } display: none; }
/*# sourceMappingURL=website_mass_mailing_name.css.map */ /*# sourceMappingURL=website_mass_mailing_name.css.map */

2
website_mass_mailing_name/static/src/css/website_mass_mailing_name.css.map

@ -1,6 +1,6 @@
{ {
"version": 3, "version": 3,
"mappings": ";;;AAKI,2BAAa;EACT,KAAK,EAAE,GAAG;AAGV,mDAAkB;EACd,OAAO,EAAE,IAAI",
"mappings": ";;;AAKI,2BAAa;EACT,KAAK,EAAE,GAAG;AAGV,qEAAkC;EAC9B,OAAO,EAAE,IAAI",
"sources": ["website_mass_mailing_name.sass"], "sources": ["website_mass_mailing_name.sass"],
"names": [], "names": [],
"file": "website_mass_mailing_name.css" "file": "website_mass_mailing_name.css"

4
website_mass_mailing_name/static/src/css/website_mass_mailing_name.sass

@ -6,6 +6,6 @@
.form-control .form-control
width: 50% width: 50%
&[data-subscribe=on]
.js_subscribe_name
&[data-subscribe="on"]
.js_subscribe_name:not([disabled])
display: none display: none
Loading…
Cancel
Save