Skip to content

Commit

Permalink
refs #5192 fixed some screenshot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteur committed May 26, 2014
1 parent 45fa682 commit 29b0ae7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
17 changes: 7 additions & 10 deletions plugins/CoreHome/templates/_topBarTopMenu.twig
Expand Up @@ -21,16 +21,13 @@
{% endset %}

{% macro userMenuItem(label, menu, currentModule, currentAction) %}
{% if (menu._url.module == currentModule and (menu._url.action is empty or menu._url.action == currentAction)) %}
<a class="item active"
{% if menu._tooltip is defined %}title="{{ menu._tooltip }}"{% endif %}
>{{ label|translate }}</a>
{% else %}
<a class="item"
href="index.php{{ menu._url|urlRewriteWithParameters }}"
{% if menu._tooltip is defined %}title="{{ menu._tooltip }}"{% endif %}
>{{ label|translate }}</a>
{% endif %}

<a class="item {% if (menu._url.module == currentModule and (menu._url.action is empty or menu._url.action == currentAction)) %}active{% endif %}"
href="index.php{{ menu._url|urlRewriteWithParameters }}"
id="usermenu-{{ menu._url.module|lower }}-{{ menu._url.action|default('index')|lower }}"
{% if menu._tooltip is defined %}title="{{ menu._tooltip }}"{% endif %}
>{{ label|translate }}</a>

{% endmacro %}

<span class="topBarElem">
Expand Down
2 changes: 0 additions & 2 deletions plugins/Feedback/Feedback.php
Expand Up @@ -7,8 +7,6 @@
*
*/
namespace Piwik\Plugins\Feedback;
use Piwik\Menu\MenuTop;
use Piwik\Piwik;


/**
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPUnit/UI
Submodule UI updated from b086c2 to 14fa02

0 comments on commit 29b0ae7

Please sign in to comment.