Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate ListPart search into own shape #16749

Merged
merged 16 commits into from
Sep 20, 2024

Conversation

giannik
Copy link
Contributor

@giannik giannik commented Sep 18, 2024

-easier placement and visibility of search panel.
-follow same pattern as other shapes in list part admin.
-cleanup unused services in razor view.

-easier placement and visibility of search panel.
-follow same pattern as other shapes in list part admin.
-cleanup unused services in razor view.
@hishamco
Copy link
Member

@giannik please react to the changes and request a review again

@MikeAlhayek if you have anything else let me know, otherwise I will merge once the changes applied

var authorizedContentTypeDefinitions = new List<ContentTypeDefinition>();
foreach (var contentTypeDefinition in Model.ContainedContentTypeDefinitions)
{
if (await AuthorizationService.AuthorizeAsync(User, CommonPermissions.EditContent, await ContentManager.NewAsync(contentTypeDefinition.Name)))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to add content each time?

@MikeAlhayek MikeAlhayek changed the title separate list part admin search into own shape for : Separate ListPart search into own shape Sep 20, 2024
Comment on lines +9 to +11
var dropdownClassList = CultureInfo.CurrentUICulture.IsRightToLeft()
? "dropdown-menu dropdown-menu-start"
: "dropdown-menu";
Copy link
Member

@hishamco hishamco Sep 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just have one question before you nominate me @MikeAlhayek, this time there are 4 spaces before it's by intention or VS formatting?!!

@MikeAlhayek MikeAlhayek merged commit 6583a81 into OrchardCMS:main Sep 20, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants