Skip to content

Commit

Permalink
Updated "At a Glance" dashboard widget icon to be Give symbol rather …
Browse files Browse the repository at this point in the history
…than empty circle - Fixes #492
  • Loading branch information
devin committed Feb 26, 2016
1 parent 22e39e6 commit 4a2d3c5
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 7 deletions.
16 changes: 16 additions & 0 deletions assets/css/give-admin.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/give-admin.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/css/give-admin.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/frontend/give.all.min.js

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions assets/scss/admin/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,15 @@
}
}

}

//At a Glance Widget
#dashboard_right_now {
.give-forms-count:before {
@include iconstyle();
font-size: 18px;
width: 18px;
height: 18px;
content: "\e800";
}
}
7 changes: 5 additions & 2 deletions includes/admin/dashboard-widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,13 @@ function give_dashboard_sales_widget() {
}

/**
* Add download count to At a glance widget
* Add donation forms count to dashboard "At a glance" widget
*
* @since 1.0
* @return void
*
* @param $items
*
* @return array
*/
function give_dashboard_at_a_glance_widget( $items ) {
$num_posts = wp_count_posts( 'give_forms' );
Expand Down
3 changes: 2 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ We also really like WooCommerce. It's hands-down the most robust eCommerce platf
= 1.3.6 =
* New: Give French translation provided by Laurent. Thanks! - https://github.com/WordImpress/Give/issues/472
* Tweak: Improved "Offline Donations" gateway admin notification messaging - https://github.com/WordImpress/Give/issues/448
* Fixed: Donation total does not show the currency sign when changing custom amount - thanks @pryley - see: https://github.com/WordImpress/Give/issues/485
* Fixed: Updated "At a Glance" dashboard widget icon to be Give symbol rather than empty circle - https://github.com/WordImpress/Give/issues/492
* Fixed: Donation total does not show the currency sign when changing custom amount - thanks @pryley - https://github.com/WordImpress/Give/issues/485
* Fixed: Currency output has better support for - https://github.com/WordImpress/Give/issues/468
* Fixed: Bug with floating labels functionality and the password field type not hiding labels appropriately - https://github.com/WordImpress/Give/issues/468
* Fixed: Updating the transaction payment date was not working as expected when in "Pending" status - https://github.com/WordImpress/Give/issues/435
Expand Down

0 comments on commit 4a2d3c5

Please sign in to comment.