Commit 3680d793 authored by Arthur Suzuki's avatar Arthur Suzuki Committed by Ghislain Loas
Browse files

hotline#127891 : fix wrong icon in newsletter dashboard

parent 2a7af482
- ticket #127891 : Administration : Remplacement de l'icône d'aperçu des lettres d'information. La case à cocher devient un œil.
\ No newline at end of file
......@@ -32,7 +32,7 @@ class ZendAfi_Controller_Plugin_Manager_Newsletter extends ZendAfi_Controller_Pl
'icon' => 'edit',
'label' => $this->_('Modifier la newsletter')],
['url' => '/admin/newsletter/preview/id/%s',
'icon' => 'show',
'icon' => 'view',
'label' => $this->_('Visualiser la newsletter')],
['url' => '/admin/newsletter/edit-subscribers/id/%s',
'icon' => 'users',
......
......@@ -154,8 +154,9 @@ class Admin_NewsletterControllerIndexActionTest extends Admin_NewsletterControll
}
public function testPreviewNouveautesClassiqueLink() {
$this->assertXPath("//a[contains(@href, '/admin/newsletter/preview/id/1')]");
public function testPreviewNouveautesClassiqueLinkWithViewIco() {
$this->assertXPath("//a[contains(@href, '/admin/newsletter/preview/id/1')]"
. "/img[@class='ico'][contains(@src,'view')]");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment