forked from wallabag/wallabag
updated tests
This commit is contained in:
@ -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:
|
||||
|
||||
@ -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 %}
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -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'}) }}
|
||||
|
||||
Reference in New Issue
Block a user