This repository has been archived by the owner. It is now read-only.
Browse files

add enable icon

  • Loading branch information...
1 parent f642996 commit 8c21360d004212175705876e804bced4efdd75ac @vincentchalamon committed Dec 30, 2011
@@ -5,6 +5,13 @@
[?php endif; ?]
+[?php if ($sf_user->hasFlash('success')): ?]
+ <div class="status success">
+ <p class="closestatus"><a href="#" title="Close">x</a></p>
+ <p>[?php echo image_tag(public_path('/sfAdminTemplatePlugin/images/icon_success.png'), array('alt' => 'Succès', 'title' => 'Success')) ?]<span>Succès!</span> [?php echo __($sf_user->getFlash('success'), array(), 'sf_admin') ?]</p>
+ </div>
+[?php endif; ?]
[?php if ($sf_user->hasFlash('error')): ?]
<div class="status error">
<p class="closestatus"><a href="#" title="Close">x</a></p>
@@ -295,6 +295,8 @@ a.enhanced_toggleResult {display: none;}
.sf_admin_object_actions_list .sf_admin_td_actions li.sf_admin_action_add a{background-image: url("../images/btn_add.png");}
.sf_admin_object_actions_list .sf_admin_td_actions li.sf_admin_action_publish a{background-image: url("../images/btn_publish.png");}
.sf_admin_object_actions_list .sf_admin_td_actions li.sf_admin_action_unpublish a{background-image: url("../images/btn_unpublish.png");}
+.sf_admin_object_actions_list .sf_admin_td_actions li.sf_admin_action_enable a{background-image: url("../images/btn_enable.png");}
+.sf_admin_object_actions_list .sf_admin_td_actions li.sf_admin_action_disable a{background-image: url("../images/btn_delete.png");}
#fancybox-content{-moz-box-shadow: 0 0 2px 2px #999; -webkit-box-shadow: 0 0 2px 2px #999; box-shadow: 0 0 2px 2px #999;}
.sf_admin_list_actions li {float: left; margin: 5px; line-height: 16px; background: url("../images/icon_default.png") no-repeat left top;}
.sf_admin_list_actions li a {padding-left: 20px; text-decoration: none;}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8c21360

Please sign in to comment.