Skip to content

Commit 64c4dff

Browse files
authored
Merge pull request #1162 from WPChill/proofing-upsell
Proofing upsell
2 parents 2103c3b + 01a1e8d commit 64c4dff

15 files changed

+149
-49
lines changed

assets/css/admin/edit.css

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,15 @@ tbody#the-list .no-items {
7676
box-shadow: 0 3px 30px rgb(0 0 0 / 20%);
7777
}
7878

79+
.image-proofing .modula-modal__frame {
80+
width: 750px;
81+
max-width: 100%;
82+
}
83+
.modula-upsell-modal-buttons-wrap{
84+
width: 100%;
85+
text-align: center;
86+
}
87+
7988
@media screen and (max-width: 800px) {
8089
.modula-modal__frame {
8190
width: auto;
@@ -214,6 +223,10 @@ tbody#the-list .no-items {
214223
padding-left: 40px;
215224
}
216225

226+
.modula-upsell-modal.modula-upsell-item-modal p {
227+
text-align: left;
228+
}
229+
217230
/**
218231
Onboarding CSS
219232
*/
@@ -327,7 +340,8 @@ p.modula-onboarding-doc > a {
327340
}
328341

329342
#menu-posts-modula-gallery .wp-submenu li a[href$="#albums-defaults"]::before,
330-
#menu-posts-modula-gallery .wp-submenu li a[href$="#gallery-defaults"]::before {
343+
#menu-posts-modula-gallery .wp-submenu li a[href$="#gallery-defaults"]::before,
344+
#menu-posts-modula-gallery .wp-submenu li a[href$="#image-proofing-upsell"]::before {
331345
display: inline-block;
332346
color: rgba(240, 246, 252, 0.7);
333347
font-family: 'dashicons';
@@ -337,7 +351,7 @@ p.modula-onboarding-doc > a {
337351
}
338352

339353
#menu-posts-modula-gallery .wp-submenu li a[href$="#albums-defaults"],
340-
#menu-posts-modula-gallery .wp-submenu li a[href$="#gallery-defaults"] {
354+
#menu-posts-modula-gallery .wp-submenu li a[href$="#image-proofing-upsell"] {
341355
border-bottom: 1px solid hsla(0, 0%, 100%, .2);
342356
}
343357

assets/css/admin/edit.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/admin/modula-edit.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,15 @@
119119
modulaOpenModal
120120
);
121121

122+
$('body').on(
123+
'click',
124+
'#adminmenu #menu-posts-modula-gallery ul li a[href="edit.php?post_type=modula-gallery&page=#image-proofing-upsell"]',
125+
{
126+
upsell: 'image-proofing',
127+
},
128+
modulaOpenModal
129+
);
130+
122131
$('body').on(
123132
'click',
124133
'#adminmenu #menu-posts-modula-gallery ul li a[href="edit.php?post_type=modula-gallery&page=go-pro"]',

assets/js/admin/modula-edit.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

changelog.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
== Changelog ==
2+
= 2.11.10 - 20.12.2024 =
3+
Update: Extended the upsells notifications system to include Image Proofing extension.
4+
25
= 2.11.9 - 19.12.2024 =
36
Fixed: Text domain loading
47

@@ -287,13 +290,13 @@ Changed: Active hover effect on top of list.
287290
-Added: Metabox accordions.
288291
-Changed: WCAG compliance.
289292

290-
= 2.6.7 - 08.06.2020 =
293+
= 2.6.7 - 08.06.2022 =
291294
-Fixed: Sanitization & escapes.
292295
-Fixed: Medicare WP theme compatibility.
293296
-Fixed: Gallery titles with messy display names in Gutenberg.
294297
-Added: Possibility to exclude certain images from the lightbox.
295298

296-
= 2.6.6 - 02.05.2020 =
299+
= 2.6.6 - 02.05.2022 =
297300
-Fixed: Sanitization not showing quotation marks in image title.
298301
-Changed: Last image arrow in lightbox is now hidden.
299302

0 commit comments

Comments
 (0)