Skip to content

Commit

Permalink
StudentSupportCallForm: Adding buttonClass param to ipaButton #1450
Browse files Browse the repository at this point in the history
  • Loading branch information
ltwheeler committed Jan 16, 2018
1 parent 94b395c commit 6917420
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/shared/directives/ipaButton/ipaButton.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div
class="ipa-button"
ng-class="buttonClass"
ng-class="{ 'skin-light' : color == 'light', 'skin-dark' : color == 'dark', 'skin-danger' : color == 'danger' }"
ng-click="onClick()">
<div class="icon-container">
Expand Down
1 change: 1 addition & 0 deletions app/shared/directives/ipaButton/ipaButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ sharedApp.directive("ipaButton", this.ipaButton = function () {
hoverText: '<?',
color: '<?',
iconClass: '<?',
buttonClass: '<?'
},
link: function(scope, element, attrs) {
// Intentionally empty
Expand Down

0 comments on commit 6917420

Please sign in to comment.