Added delete button on Baggy theme

This commit is contained in:
Nicolas Lœuillet 2017-03-31 10:53:23 +02:00
parent 73f28afb19
commit 9102851f59
No known key found for this signature in database
GPG key ID: BDC1EFB5CA0145F2
2 changed files with 7 additions and 1 deletions

View file

@ -124,9 +124,10 @@ class AnnotationRepository extends EntityRepository
}
/**
* Find all annotations related to archived entries
* Find all annotations related to archived entries.
*
* @param $userId
*
* @return mixed
*/
public function findAllByArchivedEntriesAndUserId($userId)

View file

@ -199,6 +199,11 @@
{{ 'config.reset.tags'|trans }}
</a>
</li>
<li>
<a href="{{ path('config_reset', { type: 'archived'}) }}" onclick="return confirm('{{ 'config.reset.confirm'|trans|escape('js') }}')" class="waves-effect waves-light btn red">
{{ 'config.reset.archived'|trans }}
</a>
</li>
<li>
<a href="{{ path('config_reset', { type: 'entries'}) }}" onclick="return confirm('{{ 'config.reset.confirm'|trans|escape('js') }}')" class="waves-effect waves-light btn red">
{{ 'config.reset.entries'|trans }}