Skip to content

Commit

Permalink
[ #663 ] Show changes to image's alignment in backend
Browse files Browse the repository at this point in the history
  • Loading branch information
TeoAlex committed Aug 2, 2023
1 parent b2431f0 commit 4aaa63c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Expand Up @@ -19,6 +19,7 @@ Changed: Removed settings sidebar upseells & added Whitelabel upsell tab. ( [#82
Changed: Removed "Powered By Modula" meta option. ( [#820](https://github.com/WPChill/modula-lite/issues/820) )
Changed: Removed "Earn Money" tab. ( [#819](https://github.com/WPChill/modula-lite/issues/819) )
Fixed: "Save Gallery" text should be "Publish Gallery" if gallery is a draft. ( [#712](https://github.com/WPChill/modula-lite/issues/712) )
Fixed: Show changes to image's alignment in backend ( [#663](https://github.com/WPChill/modula-lite/issues/663) )

= 2.7.4 - 28.03.2023 =
Fixed: Undefined index if default value for gallery setting input fields not set ( [#788](https://github.com/WPChill/modula-lite/issues/788) )
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/modula-js-templates.php
@@ -1,5 +1,5 @@
<script type="text/html" id="tmpl-modula-image">
<div class="modula-single-image-content {{data.orientation}}" <# if ( data.full != '' ) { #> style="background-image:url('{{ data.thumbnail }}')" <# } #> >
<div class="modula-single-image-content {{data.orientation}}" <# if ( data.full != '' ) { #> style="background-image:url('{{ data.thumbnail }}'); background-position: {{ data.valign }} {{ data.halign }};" <# } #> >
<?php do_action( 'modula_admin_gallery_image_start' ) ?>
<# if ( data.thumbnail != '' ) { #>
<img src="{{ data.thumbnail }}">
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Expand Up @@ -284,6 +284,7 @@ Changed: Removed settings sidebar upseells & added Whitelabel upsell tab. ( [#82
Changed: Removed "Powered By Modula" meta option. ( [#820](https://github.com/WPChill/modula-lite/issues/820) )
Changed: Removed "Earn Money" tab. ( [#819](https://github.com/WPChill/modula-lite/issues/819) )
Fixed: "Save Gallery" text should be "Publish Gallery" if gallery is a draft. ( [#712](https://github.com/WPChill/modula-lite/issues/712) )
Fixed: Show changes to image's alignment in backend ( [#663](https://github.com/WPChill/modula-lite/issues/663) )

= 2.7.4 - 28.03.2023 =
Fixed: Undefined index if default value for gallery setting input fields not set ( [#788](https://github.com/WPChill/modula-lite/issues/788) )
Expand Down

0 comments on commit 4aaa63c

Please sign in to comment.