mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-23 07:08:09 +00:00
action labels depend on status
This commit is contained in:
parent
c3cb46809b
commit
c713273619
1 changed files with 2 additions and 2 deletions
|
@ -265,7 +265,7 @@ class EntryController extends Controller
|
|||
|
||||
$this->get('session')->getFlashBag()->add(
|
||||
'notice',
|
||||
'Entry archived'
|
||||
'Entry ' . ($entry->isArchived() ? 'archived' : 'unarchived')
|
||||
);
|
||||
|
||||
return $this->redirect($request->headers->get('referer'));
|
||||
|
@ -290,7 +290,7 @@ class EntryController extends Controller
|
|||
|
||||
$this->get('session')->getFlashBag()->add(
|
||||
'notice',
|
||||
'Entry starred'
|
||||
'Entry ' . ($entry->isStarred() ? 'starred' : 'unstarred')
|
||||
);
|
||||
|
||||
return $this->redirect($request->headers->get('referer'));
|
||||
|
|
Loading…
Reference in a new issue