Skip to content

Commit

Permalink
OXDEV-8831 Add missing styling for 'Export User Data' button
Browse files Browse the repository at this point in the history
  • Loading branch information
tkcreateit committed Dec 4, 2024
1 parent 62876dd commit 0ca54f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Fixed
- Make checkbox `oegdproptin_userregistration` required in user registration page [#0006863](https://bugs.oxid-esales.com/view.php?id=6863)
- Add missing styling for 'Export User Data' button

## [v4.1.0] - 2024-10-14

Expand Down
5 changes: 3 additions & 2 deletions views/twig/extensions/themes/admin_twig/user_main.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@
form.insertAdjacentHTML('beforeend', '{{ oViewConf.getHiddenSid()|replace({'\n': '', '\r': ''})|raw }}');
// Create a submit button
var button = document.createElement('button');
var button = document.createElement('input');
button.setAttribute('type', 'button');
button.innerText = '{{ translate({ ident: "SHOP_MODULE_oegdproptin_export_label" }) }}';
button.setAttribute('value', '{{ translate({ ident: "SHOP_MODULE_oegdproptin_export_label" }) }}');
button.setAttribute('style', 'margin-top: 25px;');
button.onclick = function() {
form.submit();
};
Expand Down

0 comments on commit 0ca54f9

Please sign in to comment.