Skip to content
Browse files

ENHANCEMENT:Trac 7266 - added an icon to the 'sync files' button in A…

…ssetAdmin + regenerated css files.
  • Loading branch information...
1 parent dcdb0b4 commit 3cdca3ea0511c1c0229643d63897a0a711072c11 Jeremy Bridson committed May 3, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 code/controllers/AssetAdmin.php
  2. +1 −1 css/screen.css
View
2 code/controllers/AssetAdmin.php
@@ -190,7 +190,7 @@ public function getEditForm($id = null, $fields = null) {
$syncButton = new LiteralField(
'SyncButton',
sprintf(
- '<a class="ss-ui-button ss-ui-action ui-button-text-icon-primary ss-ui-button-ajax" title="%s" href="%s">%s</a>',
+ '<a class="ss-ui-button ss-ui-action ui-button-text-icon-primary ss-ui-button-ajax" data-icon="arrow-circle-double" title="%s" href="%s">%s</a>',
_t('AssetAdmin.FILESYSTEMSYNCTITLE', 'Update the CMS database entries of files on the filesystem. Useful when new files have been uploaded outside of the CMS, e.g. through FTP.'),
$this->Link('doSync'),
_t('FILESYSTEMSYNC','Sync files')
View
2 css/screen.css
@@ -1,7 +1,7 @@
/** This file is the central collection of included modules, links to custom SCSS files, and any global SCSS variable definitions. DO NOT ADD stylesheet rules to this file directly! Note: By prefixing files with an underscore, they won't create individual CSS files. */
/** ----------------------------- Core Compass Libraries ------------------------------ */
/** ----------------------------- CMS Components ------------------------------ */
-/** Style custom to the CMSMain admin interface. CMSMain extends the built in SilverStripe admin section styles. As much as possible we want to use those built in styles. If anything in this file can be implemented in a generic way then it should be include in the admin scss files. @package cms */
+/** Style custom to the CMSMain admin interface. CMSMain extends the built in SilverStripe admin section styles. As much as possible we want to use those built in styles. If anything in this file can be implemented in a generic way then it should be include in the admin scss files. @package cms */
/** ------------------------------------------------------------------ Page History Section. ----------------------------------------------------------------- */
#cms-page-history-versions tr.loading { color: #999; }
#cms-page-history-versions tr.loading td:hover { cursor: none; }

0 comments on commit 3cdca3e

Please sign in to comment.
Something went wrong with that request. Please try again.