* improved play and stop button if only one record is allowed * stop button first in action menu * fix skin colors * autofocus term field in search form * fix responsive column layout in invoice listing * improve responsive header for small screens
20 lines
822 B
Twig
20 lines
822 B
Twig
{% if is_granted('start_own_timesheet') %}
|
|
<li class="dropdown notifications-menu">
|
|
<a href="#" class="dropdown-toggle ddt-small" data-toggle="dropdown">
|
|
<i class="{{ 'repeat'|icon }} fa-2x"></i>
|
|
</a>
|
|
<ul class="dropdown-menu"
|
|
data-api="{{ path('recent_timesheet', {'size' : 10}) }}"
|
|
data-href="{{ path('restart_timesheet', {'id' : '000'}) }}"
|
|
data-icon="{{ 'start-small'|icon }}"
|
|
data-template="{{ 'recent.activities.format'|trans }}">
|
|
<li class="header">{{ 'recent.activities'|trans }}</li>
|
|
<li>
|
|
<ul class="menu">
|
|
</ul>
|
|
</li>
|
|
<li class="footer"><a href="{{ path('timesheet') }}">{{ 'timesheet.all'|trans }}</a></li>
|
|
</ul>
|
|
</li>
|
|
{% endif %}
|