-
Notifications
You must be signed in to change notification settings - Fork 12
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
OEL-788: Update local task theming #146
Conversation
{% if primary %} | ||
<h2 class="visually-hidden">{{ 'Primary tabs'|t }}</h2> | ||
{{ _self.menu_local_tasks(primary_links) }} | ||
{% endif %} |
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.
Please, consider if a blank line here can add readibility.
$this->assertCount(1, $active); | ||
$this->assertEquals('Third link - Active', trim($active->text())); | ||
|
||
// Assert regular link are ordered by weight. |
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.
// Assert regular link are ordered by weight. | |
// Assert regular links are ordered by weight. |
$html = $this->renderRoot($render); | ||
$crawler = new Crawler($html); | ||
|
||
$actual = $crawler->filter('nav.nav-tabs'); |
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.
Please, change name $actual to $nav or $navigation. It makes easier to understand at first glance.
No description provided.