Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Commit 5a6fd39

Browse files
author
Miguel Jacinto
committed
[Behat] Expose navigation items identifier in the markup
1 parent 3dcc86c commit 5a6fd39

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Resources/public/js/views/navigation/ez-navigationitemview.js

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ YUI.add('ez-navigationitemview', function (Y) {
5353

5454
container.setHTML(this.template({
5555
title: this.get('title'),
56+
identifier: this.get('identifier'),
5657
route: this.get('route'),
5758
}));
5859
return this;
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<a href="{{ path route.name route.params }}" class="ez-navigation-item">{{ title }}</a>
1+
<a href="{{ path route.name route.params }}" class="ez-navigation-item" data-navigation-item-identifier="{{ identifier }}">{{ title }}</a>

0 commit comments

Comments
 (0)