OrchardCMS / OrchardCMS/OrchardCore.Samples
Incorrect badge colors in Pages/Index.cshtml
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 417
- Forks
- 135
- PR merge metrics
- No merged PRs in 30d
Description
There are no such css classes as badge-{danger,success} in Bootstrap v5.1.
MultiTenantApplication - <span class="badge badge-success">default</span> <span class="badge badge-success">customer-a</span> <span class="badge badge-success">customer-b</span>
...
Module1 - <span class="badge badge-danger">default</span> <span class="badge badge-success">customer-a</span> <span class="badge badge-success">customer-b</span>
...
Module2 - <span class="badge badge-danger">default</span> <span class="badge badge-danger">customer-a</span> <span class="badge badge-success">customer-b</span>
We should use bg-{danger,success} instead.
MultiTenantApplication - <span class="badge bg-success">default</span> <span class="badge bg-success">customer-a</span> <span class="badge bg-success">customer-b</span>
...
Module1 - <span class="badge bg-danger">default</span> <span class="badge bg-success">customer-a</span> <span class="badge bg-success">customer-b</span>
...
Module2 - <span class="badge bg-danger">default</span> <span class="badge bg-danger">customer-a</span> <span class="badge bg-success">customer-b</span>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open Pages/Index.cshtml and inspect the badge class attributes shown in the issue. Update the outdated Bootstrap badge classes to the corresponding Bootstrap 5.1 classes, then verify that the rendered badges use the expected danger and success colors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bootstrap, csharp
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100