make current plan bold

This commit is contained in:
Girish Ramakrishnan
2016-06-29 14:11:00 -05:00
parent 3a7eb74e28
commit 64b59a3047
2 changed files with 2 additions and 6 deletions

View File

@@ -157,9 +157,9 @@
<div class="card" style="margin-bottom: 15px;" ng-show="user.admin">
<div class="row">
<div class="col-xs-10 plans" style="margin-left: 20px">
<div class="col-xs-10" style="margin-left: 20px">
<div class="btn-group" data-toggle="buttons">
<label class="radio" ng-repeat="plan in availablePlans">
<label class="radio" ng-repeat="plan in availablePlans" ng-style="{ 'font-weight': currentPlan.slug === plan.slug ? 'bold' : 'normal' }">
<input type="radio" name="options" autocomplete="off" ng-checked="currentPlan.slug === plan.slug" ng-click="setRequestedPlan(plan)">
{{ plan.name }} ({{ plan.slug | uppercase }}) - {{ plan.price/100 }}{{ currency }}/month
<span ng-show="currentPlan.slug === plan.slug"> (current plan)