Skip to content

chore: Remove bootstrapValidator CSS includes#1125

Merged
JohnVillalovos merged 1 commit intoLibreBooking:developfrom
labmecanicatec:cleanup-bootstrapvalidator-css
Mar 9, 2026
Merged

chore: Remove bootstrapValidator CSS includes#1125
JohnVillalovos merged 1 commit intoLibreBooking:developfrom
labmecanicatec:cleanup-bootstrapvalidator-css

Conversation

@labmecanicatec
Copy link
Collaborator

@labmecanicatec labmecanicatec commented Mar 8, 2026

Delete conditional inclusion of bootstrapValidator CSS from tpl/globalheader.tpl. This removes both the local cssfile vendor import and the CDN stylesheet link for the Validator, cleaning up an unused dependency.

Closes: #1115

Delete conditional inclusion of bootstrapValidator CSS from tpl/globalheader.tpl. This removes both the local cssfile vendor import and the CDN stylesheet link for the Validator, cleaning up an unused dependency.
@JohnVillalovos JohnVillalovos force-pushed the cleanup-bootstrapvalidator-css branch from 771ab21 to bc0904b Compare March 8, 2026 21:01
@JohnVillalovos JohnVillalovos requested a review from Copilot March 8, 2026 21:01
@JohnVillalovos
Copy link
Collaborator

Is this to resolve #1115 ?

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the conditional bootstrapValidator CSS includes from tpl/globalheader.tpl, cleaning up both the local cssfile vendor import and the CDN stylesheet link that were gated behind the $Validator flag.

Changes:

  • Remove the {if isset($Validator) && $Validator} block that included the local css/bootstrapValidator.min.css via {cssfile}.
  • Remove the corresponding CDN <link> for cdnjs.cloudflare.com/.../bootstrapValidator.min.css in the non-local block.

You can also share your feedback on Copilot code review. Take the survey.

Copy link
Collaborator

@JohnVillalovos JohnVillalovos left a comment

Choose a reason for hiding this comment

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

@JohnVillalovos JohnVillalovos merged commit 7079d8e into LibreBooking:develop Mar 9, 2026
19 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.

Local bootstrapValidator.min.css reference is broken

3 participants