diff options
author | Martin Wortschack <mwortschack@gitlab.com> | 2018-12-21 08:56:43 +0100 |
---|---|---|
committer | Martin Wortschack <mwortschack@gitlab.com> | 2018-12-21 10:37:13 +0100 |
commit | f530d19ce36718009671b64df6f4970307204c57 (patch) | |
tree | 1a74c18ef9c474f68118f182a81ca2859a2dd476 /app/views/layouts/header/_new_dropdown.haml | |
parent | 0a0c928283855e3e8ab59a1295e888cc38af2940 (diff) | |
download | gitlab-ce-f530d19ce36718009671b64df6f4970307204c57.tar.gz |
Support navbar tracking
- Add tracking attributes to templates
Diffstat (limited to 'app/views/layouts/header/_new_dropdown.haml')
-rw-r--r-- | app/views/layouts/header/_new_dropdown.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/header/_new_dropdown.haml b/app/views/layouts/header/_new_dropdown.haml index 5cb8aebadb3..e42251f9ec8 100644 --- a/app/views/layouts/header/_new_dropdown.haml +++ b/app/views/layouts/header/_new_dropdown.haml @@ -1,4 +1,4 @@ -%li.header-new.dropdown +%li.header-new.dropdown{ data: { track_label: "new_dropdown", track_event: "click_dropdown" } } = link_to new_project_path, class: "header-new-dropdown-toggle has-tooltip qa-new-menu-toggle", title: _("New..."), ref: 'tooltip', aria: { label: _("New...") }, data: { toggle: 'dropdown', placement: 'bottom', container: 'body', display: 'static' } do = sprite_icon('plus-square', size: 16) = sprite_icon('angle-down', css_class: 'caret-down') |