From: Kévin Gomez Date: Sun, 11 Oct 2015 15:46:53 +0000 (+0200) Subject: Add a table explaining the available variables X-Git-Tag: 2.0.0-alpha.1~11^2~26 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=e9fbd2d12e94c96d540f6f98758f6bc92a65e7a1;p=github%2Fwallabag%2Fwallabag.git Add a table explaining the available variables --- diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig index 1a8526f3..885718f8 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig @@ -220,8 +220,63 @@ - + +
+
+

+ {% trans %}The following variables can be used to create tagging rules:{% endtrans %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableMeaning
title{% trans %}Title of the entry{% endtrans %}
url{% trans %}URL of the entry{% endtrans %}
isArchived{% trans %}Whether the entry is archived or not{% endtrans %}
isStared{% trans %}Whether the entry is starred or not{% endtrans %}
content{% trans %}The entry's content{% endtrans %}
language{% trans %}The entry's language{% endtrans %}
mimetype{% trans %}The entry's mime-type{% endtrans %}
readingTime{% trans %}The estimated entry's reading time, in minutes{% endtrans %}
domainName{% trans %}The domain name of the entry{% endtrans %}
+

+
+
{% if is_granted('ROLE_SUPER_ADMIN') %}