Development

#1394 ([PATCH] [admin generator] style of actions button in list)

You must first sign up to be able to contribute.

Ticket #1394 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

[PATCH] [admin generator] style of actions button in list

Reported by: jerome Assigned to:
Priority: minor Milestone: 1.0.0
Component: Version: 1.0.0-beta4
Keywords: Cc:
Qualification:

Description

I add a new button for my list and it's impossible to me to personnalize it.

This is my code :

actions:

export: { name: Exporter en CSV, action: export, params: style= class=sf_admin_action_export }

...and the generated code is :

<input style="background: #ffc url(/sf/sf_admin/images/default_icon.png) no-repeat 3px 2px" class="sf_admin_action_export" value="Exporter en CSV" type="button" onclick="document.location.href='...';" />

How can I delete the style tag and apply the class on my button?

Attachments

sfAdminGenerator.class.php.patch (0.9 kB) - added by jerome on 01/30/07 16:59:44.

Change History

01/30/07 16:59:44 changed by jerome

  • attachment sfAdminGenerator.class.php.patch added.

01/30/07 17:25:15 changed by jerome

  • summary changed from [admin generator] style of actions button in list to [PATCH] [admin generator] style of actions button in list.

02/18/07 11:20:18 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

in r3499