Merge pull request #503 from tiwariav/task/3785/my_bills_page
Task/3785 update my bills page
This commit is contained in:
		
				commit
				
					
						bfbf4d87cc
					
				
			
		
					 2 changed files with 5 additions and 14 deletions
				
			
		| 
						 | 
				
			
			@ -618,9 +618,8 @@
 | 
			
		|||
    left: 8px;
 | 
			
		||||
  }
 | 
			
		||||
  .table-switch .last-td {
 | 
			
		||||
    position: absolute;
 | 
			
		||||
    bottom: 13px;
 | 
			
		||||
    right: 0;
 | 
			
		||||
    padding-top: 12px;
 | 
			
		||||
    text-align: right;
 | 
			
		||||
  }
 | 
			
		||||
  .table-switch tbody tr .xs-td-inline {
 | 
			
		||||
    text-align: right;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
{% extends "hosting/base_short.html" %}
 | 
			
		||||
{% load staticfiles bootstrap3 %}
 | 
			
		||||
{% load i18n %}
 | 
			
		||||
{% load i18n l10n %}
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
<div class="dashboard-container">
 | 
			
		||||
| 
						 | 
				
			
			@ -22,7 +22,6 @@
 | 
			
		|||
                <th>{% trans "Order Nr." %}</th>
 | 
			
		||||
                <th>{% trans "Date" %}</th>
 | 
			
		||||
                <th>{% trans "Amount" %}</th>
 | 
			
		||||
                <th>{% trans "Status" %}</th>
 | 
			
		||||
                <th></th>
 | 
			
		||||
            </tr>
 | 
			
		||||
        </thead>
 | 
			
		||||
| 
						 | 
				
			
			@ -30,15 +29,8 @@
 | 
			
		|||
            {% for order in orders %}
 | 
			
		||||
                <tr>
 | 
			
		||||
                    <td class="xs-td-inline" data-header="{% trans 'Order Nr.' %}">{{ order.id }}</td>
 | 
			
		||||
                    <td class="xs-td-bighalf" data-header="{% trans 'Date' %}">{{ order.created_at | date:"M d, Y" }}</td>
 | 
			
		||||
                    <td class="xs-td-smallhalf" data-header="{% trans 'Amount' %}">{{ order.price }}</td>
 | 
			
		||||
                    <td data-header="{% trans 'Status' %}">
 | 
			
		||||
                        {% if order.approved %}
 | 
			
		||||
                            <span class="vm-status-active"><strong>{% trans "Approved" %}</strong></span>
 | 
			
		||||
                        {% else %}
 | 
			
		||||
                            <span class="vm-status-failed"><strong>{% trans "Declined" %}</strong></span>
 | 
			
		||||
                        {% endif %}
 | 
			
		||||
                    </td>
 | 
			
		||||
                    <td class="xs-td-bighalf" data-header="{% trans 'Date' %}">{{ order.created_at | date:"M d, Y H:i" }}</td>
 | 
			
		||||
                    <td class="xs-td-smallhalf" data-header="{% trans 'Amount' %}">{{ order.price|unlocalize }}</td>
 | 
			
		||||
                    <td class="text-right last-td">
 | 
			
		||||
                        <a class="btn btn-order-detail" href="{% url 'hosting:orders' order.pk %}">{% trans 'See Invoice' %}</a>
 | 
			
		||||
                    </td>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue