updated tests

This commit is contained in:
Nicolas Lœuillet
2016-01-06 06:34:57 +01:00
parent d1af8ad4db
commit b88cf91fc8
9 changed files with 10 additions and 17 deletions

View File

@ -18,7 +18,6 @@ services:
- "@doctrine.orm.entity_manager"
- "@wallabag_core.content_proxy"
- %pocket_consumer_key%
- "@translator"
calls:
- [ setClient, [ "@wallabag_import.pocket.client" ] ]
- [ setLogger, [ "@logger" ]]
@ -29,7 +28,6 @@ services:
class: Wallabag\ImportBundle\Import\WallabagV1Import
arguments:
- "@doctrine.orm.entity_manager"
- "@translator"
calls:
- [ setLogger, [ "@logger" ]]
tags:

View File

@ -10,7 +10,7 @@
{% for import in imports %}
<li>
<h5>{{ import.name }}</h5>
<blockquote>{{ import.description|raw }}</blockquote>
<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 %}

View File

@ -5,7 +5,7 @@
<div class="row">
<div class="col s12">
<div class="card-panel settings">
<blockquote>{{ import.description|raw }}</blockquote>
<blockquote>{{ import.description|trans }}</blockquote>
<p>{% trans %}You can import your data from your Pocket account. You just have to click on the below button and authorize the application to connect to getpocket.com.{% endtrans %}</p>
<form method="post" action="{{ path('import_pocket_auth') }}">
<button class="btn waves-effect waves-light" type="submit" name="action">

View File

@ -6,7 +6,7 @@
<div class="col s12">
<div class="card-panel settings">
<div class="row">
<blockquote>{{ import.description|raw }}</blockquote>
<blockquote>{{ import.description|trans }}</blockquote>
<p>{% trans %}Please select your wallabag export and click on the below button to upload and import it.{% endtrans %}</p>
<div class="col s12">
{{ form_start(form, {'method': 'POST'}) }}