Refactoring - Fix1
Dieser Commit ist enthalten in:
@@ -56,23 +56,23 @@
|
||||
{% if customers %}
|
||||
{% for customer in customers %}
|
||||
<div class="customer-item p-3 border-bottom {% if customer[0] == selected_customer_id %}active{% endif %}"
|
||||
data-customer-id="{{ customer[0] }}"
|
||||
data-customer-name="{{ customer[1]|lower }}"
|
||||
data-customer-email="{{ customer[2]|lower }}"
|
||||
onclick="loadCustomerLicenses({{ customer[0] }})"
|
||||
data-customer-id="{{ customer.id }}"
|
||||
data-customer-name="{{ customer.name|lower }}"
|
||||
data-customer-email="{{ customer.email|lower }}"
|
||||
onclick="loadCustomerLicenses({{ customer.id }})"
|
||||
style="cursor: pointer;">
|
||||
<div class="d-flex justify-content-between align-items-start">
|
||||
<div class="flex-grow-1">
|
||||
<h6 class="mb-1">{{ customer[1] }}</h6>
|
||||
<small class="text-muted">{{ customer[2] }}</small>
|
||||
<h6 class="mb-1">{{ customer.name }}</h6>
|
||||
<small class="text-muted">{{ customer.email }}</small>
|
||||
</div>
|
||||
<div class="text-end">
|
||||
<span class="badge bg-primary">{{ customer[4] }}</span>
|
||||
{% if customer[5] > 0 %}
|
||||
<span class="badge bg-success">{{ customer[5] }}</span>
|
||||
<span class="badge bg-primary">{{ customer.license_count }}</span>
|
||||
{% if customer.active_licenses > 0 %}
|
||||
<span class="badge bg-success">{{ customer.active_licenses }}</span>
|
||||
{% endif %}
|
||||
{% if customer[6] > 0 %}
|
||||
<span class="badge bg-danger">{{ customer[6] }}</span>
|
||||
{% if customer.test_licenses > 0 %}
|
||||
<span class="badge bg-danger">{{ customer.test_licenses }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren