1.7.6. ApplicationPlan drop (启动)
1.7.6.1. 方法
1.7.6.1.1. 已选定?
返回是否选择了计划
{% if plan.selected? %}
<p>You will signup to {{ plan.name }}</p>
{% endif %}1.7.6.1.2. 购买?
返回计划是否购买
{% if plan.bought? %}
<p>You are on this plan already!</p>
{% endif %}1.7.6.1.3. 功能
返回计划可见的功能
{% if plan == my_free_plan %}
<p>These plans are the same.</p>
{% else %}
<p>These plans are not the same.</p>
{% endif %}1.7.6.1.4. setup_fee
返回计划的设置费用
1.7.6.1.5. name
返回计划名称
<h2>We offer you a new {{ plan.name }} plan!</h2>1.7.6.1.6. system_name
返回计划的系统名称
{% for plan in available_plans %}
{% if plan.system_name == 'my_free_plan' %}
<p>You will buy our only free plan!</p>
{% endif %}
{% endfor %}1.7.6.1.7. id
返回计划 ID
1.7.6.1.8. 免费?
如果计划 未付款,则为免费计划。请参见 付费方式。
{% if plan.free? %}
<p>This plan is free of charge.</p>
{% else %}
<p>Plan costs</p>
Setup fee {{ plan.setup_fee }}
Flat cost {{ plan.flat_cost }}
{% endif %}1.7.6.1.9. 已付费?
如果计划 具有 非零固定或设置费用或存在一些定价规则,则支付计划
{% if plan.paid? %}
<p>this plan is a paid one.</p>
{% else %}
<p>this plan is a free one.</p>
{% endif %}1.7.6.1.10. approval_required?
返回计划是否需要审批?
{% if plan.approval_required? %}
<p>This plan requires approval.</p>
{% endif %}1.7.6.1.11. flat_cost
返回计划的月度固定费用
1.7.6.1.12. metrics
返回计划的指标
1.7.6.1.13. usage_limits
返回计划用量限制
1.7.6.1.14. service
返回计划服务