aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle
diff options
context:
space:
mode:
authorKévin Gomez <contact@kevingomez.fr>2015-10-11 17:46:53 +0200
committerKévin Gomez <contact@kevingomez.fr>2015-11-11 16:23:49 +0100
commite9fbd2d12e94c96d540f6f98758f6bc92a65e7a1 (patch)
treef82694302b76036a4308f18b9ee9b2d9cae0fa6a /src/Wallabag/CoreBundle
parent981cacf7b97192ee5086bb94478a81bbc4246928 (diff)
downloadwallabag-e9fbd2d12e94c96d540f6f98758f6bc92a65e7a1.tar.gz
wallabag-e9fbd2d12e94c96d540f6f98758f6bc92a65e7a1.tar.zst
wallabag-e9fbd2d12e94c96d540f6f98758f6bc92a65e7a1.zip
Add a table explaining the available variables
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig57
1 files changed, 56 insertions, 1 deletions
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 @@
220 <button class="btn waves-effect waves-light" type="submit" name="action"> 220 <button class="btn waves-effect waves-light" type="submit" name="action">
221 {% trans %}Save{% endtrans %} 221 {% trans %}Save{% endtrans %}
222 </button> 222 </button>
223
224 </form> 223 </form>
224
225 <div class="row">
226 <div class="input-field col s12">
227 <p class="help">
228 {% trans %}The following variables can be used to create tagging rules:{% endtrans %}
229
230 <table>
231 <thead>
232 <tr>
233 <th>Variable</th>
234 <th>Meaning</th>
235 </tr>
236 </thead>
237
238 <tbody>
239 <tr>
240 <td>title</td>
241 <td>{% trans %}Title of the entry{% endtrans %}</td>
242 </tr>
243 <tr>
244 <td>url</td>
245 <td>{% trans %}URL of the entry{% endtrans %}</td>
246 </tr>
247 <tr>
248 <td>isArchived</td>
249 <td>{% trans %}Whether the entry is archived or not{% endtrans %}</td>
250 </tr>
251 <tr>
252 <td>isStared</td>
253 <td>{% trans %}Whether the entry is starred or not{% endtrans %}</td>
254 </tr>
255 <tr>
256 <td>content</td>
257 <td>{% trans %}The entry's content{% endtrans %}</td>
258 </tr>
259 <tr>
260 <td>language</td>
261 <td>{% trans %}The entry's language{% endtrans %}</td>
262 </tr>
263 <tr>
264 <td>mimetype</td>
265 <td>{% trans %}The entry's mime-type{% endtrans %}</td>
266 </tr>
267 <tr>
268 <td>readingTime</td>
269 <td>{% trans %}The estimated entry's reading time, in minutes{% endtrans %}</td>
270 </tr>
271 <tr>
272 <td>domainName</td>
273 <td>{% trans %}The domain name of the entry{% endtrans %}</td>
274 </tr>
275 </tbody>
276 </table>
277 </p>
278 </div>
279 </div>
225 </div> 280 </div>
226 281
227 {% if is_granted('ROLE_SUPER_ADMIN') %} 282 {% if is_granted('ROLE_SUPER_ADMIN') %}