1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-04 15:24:23 +01:00
fab-manager/app/frontend/templates/plans/_plan.html

36 lines
1.3 KiB
HTML
Raw Normal View History

2021-03-22 13:13:51 +01:00
<div class="row m-t m-b padder list-of-plans" ng-repeat="plansGroup in plansClassifiedByGroup" ng-if="ctrl.member.group_id == plansGroup.id || !ctrl.member" ng-show="plansAreShown">
2016-03-23 18:39:41 +01:00
<div class="col-md-12 text-center">
2021-03-22 13:13:51 +01:00
<h2 class="text-u-c group-title">{{ plansGroup.name }}</h2>
2016-03-23 18:39:41 +01:00
</div>
<div class="row row-centered padder">
2021-03-22 13:13:51 +01:00
<div class="plans-per-group">
2016-03-23 18:39:41 +01:00
2021-03-22 13:13:51 +01:00
<plan-card ng-repeat="(key, plan) in plansGroup.plans.filter(filterDisabledPlans) | orderBy:'-ui_weight'"
plan="plan"
user-id="ctrl.member.id"
subscribed-plan-id="ctrl.member.subscribed_plan.id"
operator="currentUser"
on-select-plan="selectPlan"
is-selected="isSelected(plan)">
</plan-card>
2016-03-23 18:39:41 +01:00
</div>
2021-03-22 13:13:51 +01:00
<a class="m-t-lg btn btn-small btn-default pull-right" href="#" ng-click="doNotSubscribePlan($event)">{{ 'app.shared.plan_subscribe.do_not_subscribe' | translate }} <i class="fa fa-long-arrow-right"></i></a>
2016-03-23 18:39:41 +01:00
<div class="row row-centered m-t-lg">
<div class="col-xs-12 col-md-12 col-lg-10 col-centered no-gutter">
<uib-alert type="warning m">
<i class="fa fa-lightbulb-o"></i>
<span ng-bind-html="subscriptionExplicationsAlert"></span>
</uib-alert>
</div>
</div>
</div>
</div>