Skip to content

Commit

Permalink
[Alias] Hide create links.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Apr 21, 2015
1 parent b84c44f commit 210a85c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@
</td>
</tr>
{% endblock %}

{% block list_empty %}
{{ 'list.no_results'|trans }}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@
{% else %}
<tr>
<td></td>
<td colspan="4">{{ 'list.no_results'|trans }} <a href="{{ path('clastic_node_form', {type: type}) }}">Create your first.</a></td>
<td colspan="4">
{% block list_empty %}
{{ 'list.no_results'|trans }} <a href="{{ path('clastic_node_form', {type: type}) }}">Create your first.</a>
{% endblock %}
</td>
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit 210a85c

Please sign in to comment.