diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/baggy/config.twig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/baggy/config.twig b/themes/baggy/config.twig index 4026bf28..8f35d797 100644 --- a/themes/baggy/config.twig +++ b/themes/baggy/config.twig | |||
@@ -125,6 +125,14 @@ | |||
125 | <li><a href="./?import&from=poche">{% trans "Import from wallabag" %}</a> {{ '(after uploaded %s file)'|trans|format(constant('POCHE_FILE')) }}</li> | 125 | <li><a href="./?import&from=poche">{% trans "Import from wallabag" %}</a> {{ '(after uploaded %s file)'|trans|format(constant('POCHE_FILE')) }}</li> |
126 | </ul> | 126 | </ul> |
127 | 127 | ||
128 | {% if token == '' %} | ||
129 | <p>{% trans "3. Your feed token is currently empty and must first be generated to fetch content. Click <a href='?feed&action=generate'>here to generate it</a>." %}</p> | ||
130 | {% else %} | ||
131 | <p>3. {% trans "You can fetch content for imported items." %} <a href="cron.php?limit=10&user-id={{ user_id }}&token={{token}}" target="_blank">Click here</a> to fetch content for 10 articles.</p> | ||
132 | <p>{% trans "You can also create a cron task:" %}</p> | ||
133 | <pre><code>0 */4 * * * cd /path/to/wallabag && php cron.php --limit=10 --user-id={{user_id}} --token={{token}} >/dev/null 2>&1</code></pre> | ||
134 | {% endif %} | ||
135 | |||
128 | <h2>{% trans "Export your wallabag data" %}</h2> | 136 | <h2>{% trans "Export your wallabag data" %}</h2> |
129 | {% if constant('STORAGE') == 'sqlite' %} | 137 | {% if constant('STORAGE') == 'sqlite' %} |
130 | <p><a href="?download" target="_blank">{% trans "Click here" %}</a> {% trans "to download your database." %}</p>{% endif %} | 138 | <p><a href="?download" target="_blank">{% trans "Click here" %}</a> {% trans "to download your database." %}</p>{% endif %} |