* added help for timesheet duration form field - fixes #138 * added label option to link to manual chapter * created docu chapter "timesheet" and added duration mode docu * allow field and form option "documentation" to link to chapters in the documentation
This commit is contained in:
8
templates/form/kimai-theme.html.twig
Normal file
8
templates/form/kimai-theme.html.twig
Normal file
@@ -0,0 +1,8 @@
|
||||
{% extends "@AvanzuAdminTheme/layout/form-theme.html.twig" %}
|
||||
|
||||
{% block form_label %}
|
||||
{% if form.vars.documentation is defined and form.vars.documentation is not empty %}
|
||||
<a href="{{ path('help_chapter', {'chapter': form.vars.documentation}) }}"><i class="fa fa-question-circle"></i></a>
|
||||
{% endif %}
|
||||
{{ parent() }}
|
||||
{% endblock form_label %}
|
||||
Reference in New Issue
Block a user