blob: ce258efb0238ac90d0511eb94a86b0ef952f0580 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
{{ header }}{{ column_left }}
<div id="content">
<div class="page-header">
<div class="container-fluid">
<div class="pull-right"> <a href="{{ link_overview }}" data-toggle="tooltip" title="{{ button_back }}" class="btn btn-default"><i class="fa fa-reply"></i></a> </div>
<h1>{{ heading_title }}</h1>
<ul class="breadcrumb">
{% for breadcrumb in breadcrumbs %}
<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
{% endfor %}
</ul>
</div>
</div>
<div class="container-fluid">
{% if not user_plan %}
<div class="row">
<p>{{ text_register_invite }}</p>
<p><a href="{{ link_register }}" class="btn btn-primary" target="_blank">{{ button_register }}</a></p>
</div>
{% else %}
<div class="row">
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading">
<h1 class="panel-title"><i class="fa fa-user"></i> {{ text_current_plan }}</h1>
</div>
<div class="panel-body">
<table class="table table-bordered table-hover">
<tbody>
<tr>
<td class="text-right"><b>{{ text_merchantid }}:</b></td>
<td class="text-left">{{ user_plan.merchant_id }} [ <a href="{{ link_change_seller }}" target="_blank">{{ text_change_merchantid }}</a> ]</td>
</tr>
<tr>
<td class="text-right"><b>{{ text_account_status }}:</b></td>
<td class="text-left">{{ user_plan.user_status }}</td>
</tr>
<tr>
<td class="text-right"><b>{{ text_name }}:</b></td>
<td class="text-left">{{ user_plan.title }}</td>
</tr>
<tr>
<td class="text-right"><b>{{ text_description }}:</b></td>
<td class="text-left">{{ user_plan.description }}</td>
</tr>
<tr>
<td class="text-right"><b>{{ text_order_frequency }}:</b></td>
<td class="text-left">{{ user_plan.order_frequency }}</td>
</tr>
<tr>
<td class="text-right"><b>{{ text_product_listings }}:</b></td>
<td class="text-left">{{ user_plan.product_listings }}</td>
</tr>
<tr>
<td class="text-right"><b>{{ text_listings_remaining }}:</b></td>
<td class="text-left">{{ user_plan.listings_remain }}</td>
</tr>
<tr>
<td class="text-right"><b>{{ text_listings_reserved }}:</b></td>
<td class="text-left">{{ user_plan.listings_reserved }}</td>
</tr>
<tr>
<td class="text-right"><b>{{ text_bulk_listing }}:</b></td>
<td class="text-left">
{% if user_plan.bulk_listing %}
{{ text_allowed }}
{% else %}
{{ text_not_allowed }}
{% endif %}
</td>
</tr>
<tr>
<td class="text-right"><b>{{ text_price }}:</b></td>
<td class="text-left">£{{ user_plan.price }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-8">
<div class="panel panel-default">
<div class="panel-heading">
<h1 class="panel-title"><i class="fa fa-list"></i> {{ text_available_plans }}</h1>
</div>
<div class="panel-body">
<table class="table table-bordered table-hover">
<thead>
<tr>
<td class="text-right">{{ column_name }}</td>
<td class="text-left">{{ column_description }}</td>
<td class="text-left">{{ column_order_frequency }}</td>
<td class="text-left">{{ column_product_listings }}</td>
<td class="text-left">{{ column_bulk_listing }}</td>
<td class="text-left">{{ column_price }}</td>
</tr>
</thead>
<tbody>
{% for plan in plans %}
<tr>
<td class="text-right">{{ plan.title }}</td>
<td class="text-left">{{ plan.description }}</td>
<td class="text-left">{{ plan.order_frequency }}</td>
<td class="text-left">{{ plan.product_listings }}</td>
<td class="text-left">{% if plan.bulk_listing %}
{{ text_allowed }}
{% else %}
{{ text_not_allowed }}
{% endif %}</td>
<td class="text-left">£{{ plan.price }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% if link_change_plan %}
<div class="pull-right"> <a href="{{ link_change_plan }}" class="btn btn-primary" target="_blank"><i class="fa fa-arrow-right fa-lg"></i> {{ button_change_plan }}</a> </div>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
</div>
</div>
{{ footer }}
|