-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[WebProfilerBundle] Display the missing translation panel by default #26398
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
… translations
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -117,7 +117,7 @@ | |
| {% endfor %} | ||
|
|
||
| <div class="sf-tabs"> | ||
| <div class="tab"> | ||
| <div class="tab {{ collector.countMissings == 0 ? 'tab-active' }}"> | ||
|
||
| <h3 class="tab-title">Defined <span class="badge">{{ collector.countDefines }}</span></h3> | ||
|
|
||
| <div class="tab-content"> | ||
|
|
@@ -158,7 +158,7 @@ | |
| </div> | ||
| </div> | ||
|
|
||
| <div class="tab"> | ||
| <div class="tab {{ collector.countMissings > 0 ? 'tab-active' }}"> | ||
| <h3 class="tab-title">Missing <span class="badge {{ collector.countMissings ? 'status-error' }}">{{ collector.countMissings }}</span></h3> | ||
|
|
||
| <div class="tab-content"> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not check if class
'active'is set already?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your proposal would work, but I think the current one is simpler.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
introducing tab-active + active 🤔 why use 2 "active" classes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because we use
activeto apply other styles.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've reviewed this again ... and I was completely wrong. The
.activestyles are not used how I thought they were, so we can totally reuse that class. @ro0NL thanks for helping me realize this!