summaryrefslogtreecommitdiff
path: root/billing/app/views/subscriptions/_subscription_details.html.haml
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-04-11 10:03:19 +0200
committerAzul <azul@leap.se>2014-04-11 10:07:23 +0200
commit636692f9921bd695d726695d2d46c91f5a6e56f3 (patch)
treea7cc0b89007bd273ae7719f31c16e052a141fec7 /billing/app/views/subscriptions/_subscription_details.html.haml
parent32136605ddd405a0bf47f3b795b22fd4b49465b5 (diff)
move engines into engines directory
Also renamed help to support so it's harder to confuse it with documentation
Diffstat (limited to 'billing/app/views/subscriptions/_subscription_details.html.haml')
-rw-r--r--billing/app/views/subscriptions/_subscription_details.html.haml26
1 files changed, 0 insertions, 26 deletions
diff --git a/billing/app/views/subscriptions/_subscription_details.html.haml b/billing/app/views/subscriptions/_subscription_details.html.haml
deleted file mode 100644
index 6145c95..0000000
--- a/billing/app/views/subscriptions/_subscription_details.html.haml
+++ /dev/null
@@ -1,26 +0,0 @@
-%p
- - if local_assigns[:show_user]
- User:
- - user_to_show = user_for_subscription(subscription)
- = link_to user_to_show.login, user_overview_path(user_to_show)
- ID:
- = link_to subscription.id, user_subscription_path(@user, subscription.id)
- Balance:
- - color = (subscription.balance > 0) ? "red" : ""
- %font{:color => color}
- = number_to_currency(subscription.balance)
- Bill on:
- = subscription.billing_day_of_month
- Start date:
- = subscription.first_billing_date
- Paid through:
- = subscription.paid_through_date
- Plan:
- = subscription.plan_id
- Price:
- = number_to_currency(subscription.price)
- - color = (subscription.status == 'Active') ? "green" : "red"
- Status:
- %font{:color => color}
- = subscription.status
- - # would be good to get plan name but not sure if that is possible? \ No newline at end of file