]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig
Make English welcome message more natural
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Resources / views / Import / index.html.twig
index b068283af13b047807a319103ef75e8e969a5648..8c300624d34912d4ddd1c9f486106006e694aabc 100644 (file)
@@ -1,14 +1,19 @@
 {% extends "WallabagCoreBundle::layout.html.twig" %}
-{% block title %}{% trans %}import{% endtrans %}{% endblock %}
+{% block title %}{% trans %}Import{% endtrans %}{% endblock %}
 
 {% block content %}
-
 <div class="row">
     <div class="col s12">
         <div class="card-panel settings">
-            {% trans %}Welcome on wallabag importer. Please select your previous service that you want to migrate.{% endtrans %}
+            {% trans %}Welcome to wallabag importer. Please select your previous service that you want to migrate.{% endtrans %}
             <ul>
-                <li><a href="{{ path('import_pocket') }}">Pocket</a></li>
+                {% for import in imports %}
+                    <li>
+                        <h5>{{ import.name }}</h5>
+                        <blockquote>{{ import.description|trans }}</blockquote>
+                        <p><a class="waves-effect waves-light btn" href="{{ path(import.url) }}">{% trans %}Import contents{% endtrans %}</a></p>
+                    </li>
+                {% endfor %}
             </ul>
         </div>
     </div>