Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/microweber/microweber into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
raikov committed Oct 30, 2023
2 parents 6ef5280 + d76a984 commit 7b4630a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"microweber-deps/seo-helper": "dev-master",
"microweber-deps/ziggy": "*",
"microweber-dev/omnipay-przelewy24": "0.2",
"microweber-modules/standalone-updater": "^5.3.5",
"microweber-modules/standalone-updater": "5.3.6",
"microweber-packages/composer-client": "2.0",
"microweber-packages/microweber-class-alias": "dev-master",
"microweber-templates/big-free": "7.7",
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ public function updateProfileInformation()
if (isset($this->photo) && !empty($this->photo)) {
if (method_exists($this->photo, 'guessExtension')) {
$photoExt = $this->photo->guessExtension();



$photoContent = $this->photo->get();
$photoFile = media_base_path() . 'users/' . $user->id . '-avatar.' . $photoExt;
if (!is_dir(dirname($photoFile))) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,16 @@
<input type="search" wire:model.debounce.500ms="keyword" class="form-control" aria-label="Search" placeholder="{{ _e("Search for users") }}">

<span class="input-icon-addon">
<!-- Download SVG icon from http://tabler-icons.io/i/search -->
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"></path><path d="M21 21l-6 -6"></path></svg>
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"></path><path d="M21 21l-6 -6"></path></svg>
</span>
</div>
</div>

<div class="col-lg-8 col-12 text-lg-end">

@php
$editUserLink = route('admin.users.edit', user_id());
@endphp
$editUserLink = route('admin.profile.show');
@endphp
<a href="{{ $editUserLink }}"
class="btn btn-outline-secondary mx-1 btn-sm" id="add-edit-user-btn">
<?php _e("Edit profile"); ?>
Expand Down Expand Up @@ -153,7 +152,7 @@ class="btn btn-primary mx-1 btn-sm" id="add-new-user-btn">
@php
$editUserLink = route('admin.users.edit', $user->id);
if (user_id() == $user->id) {
$editUserLink = admin_url('user/profile');
$editUserLink = route('admin.profile.show');
}
@endphp
<a href="{{$editUserLink}}"><?php _e('Edit');?></a>
Expand Down
2 changes: 1 addition & 1 deletion userfiles/modules/btn/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
$hoverbackgroundColor = get_module_option('hoverbackgroundColor', $params['id']);
$hovercolor = get_module_option('hovercolor', $params['id']);
$hoverborderColor = get_module_option('hoverborderColor', $params['id']);


$style = $btn_options['button_style'];
$size = $btn_options['button_size'];
Expand Down

0 comments on commit 7b4630a

Please sign in to comment.