Activities of "liangshiwei"

Hi,

We have a MAUI template for commercials now(6.0 version), you can check it.

I will check it out.

Hi,

Sorry, I still can't reproduce the problem, maybe the problem is related to your project. could you use CLI to create a new project to reproduce and share with me via email? thanks. shiwei.liang@volosoft.com

Hi,

I could not reproduce the problem, can you share a GIF image? or full steps? thanks.

Hi,

I will check it out

Hi,

You can try put the Default.cshtml in your Themes\Lepton\Components\Toolbar\UserMenu

@using Localization.Resources.AbpUi
@using Microsoft.AspNetCore.Http.Extensions
@using Microsoft.AspNetCore.Mvc.Localization
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Dropdown
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Grid
@using Volo.Abp.MultiTenancy
@using Volo.Abp.UI.Navigation
@using Volo.Abp.Users
@inject ICurrentUser CurrentUser
@inject ICurrentTenant CurrentTenant
@inject IHtmlLocalizer<AbpUiResource> L
@model ApplicationMenu

<abp-dropdown>
    <abp-dropdown-button link="true" id="dropdownMenuUser">
        <img src="@($"/api/account/profile-picture-file/{CurrentUser.GetId()}")" width="21" class="user-avatar">

        @if (@CurrentUser.TenantId != null)
        {
            <span><i>@CurrentTenant.Name</i>\@CurrentUser.UserName</span>
        }
        else
        {
            <span>@CurrentUser.UserName</span>
        }

    </abp-dropdown-button>

    <abp-dropdown-menu align="Right" aria-labelledby="dropdownMenuUser">
        <abp-row class="p-2">
            <abp-column size="Auto" class="pr-0">
                <img src="@($"/api/account/profile-picture-file/{CurrentUser.GetId()}")" class="user-avatar-big" width="48">
            </abp-column>
            <abp-column class="pl-2">
                <span>@L["Welcome"]</span><br />
                @if (@CurrentUser.TenantId != null)
                {
                    <small><i>@CurrentTenant.Name</i>\</small><strong>@CurrentUser.UserName</strong>
                }
                else
                {
                    <strong>@CurrentUser.UserName</strong>
                }
            </abp-column>
        </abp-row>
        @if (Model.Items.Any())
        {
            <abp-dropdown-divider />
            foreach (var menuItem in Model.Items)
            {
                var elementId = string.IsNullOrEmpty(menuItem.ElementId) ? string.Empty : menuItem.ElementId;
                var cssClass = string.IsNullOrEmpty(menuItem.CssClass) ? string.Empty : menuItem.CssClass;
                var disabled = menuItem.IsDisabled ? "disabled" : string.Empty;
                var url = string.IsNullOrEmpty(menuItem.Url) ? "#" : Url.Content(menuItem.Url);

                if(menuItem.Name == "Account.Manage")
                {
                    url += "?returnUrl=" + System.Net.WebUtility.UrlEncode(Context.Request.GetEncodedPathAndQuery());
                }

                <abp-dropdown-item class="@cssClass @disabled" href="@url" id="@elementId" target="@menuItem.Target">
                    @menuItem.DisplayName
                </abp-dropdown-item>
            }
        }
    </abp-dropdown-menu>
</abp-dropdown>

HI,

You can refer this: https://github.com/abpframework/abp/issues/12549#issuecomment-1125547055

Hi,

We have a document for this: https://docs.abp.io/en/commercial/latest/guides/identityserver-deployment#signing-certificate

Hi,

I created an internal issue for this. it should be fixed in the next patch version. BTW your ticket was refunded.

Hi,

Could you provide a minimal reproduction project? thanks.

Showing 511 to 520 of 2428 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 24, 2025, 10:25