Commit 28b3cd55 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

Merge branch...

Merge branch 'hotline#127891_mauvaise_icone_dans_la_liste_des_newsletters_case_a_cocher_a_la_place_de_l_oeil' into 'hotline'

hotline#127891 : fix wrong icon in newsletter dashboard

See merge request afi/opacce!4155
parents c80f9265 3680d793
- 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