first commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<h3>{{ strings.title }}</h3>
|
||||
<table class="widefat wpml-support-info">
|
||||
<tbody>
|
||||
{% for item in data %}
|
||||
{% set item_status = 'passed' %}
|
||||
{% if item.is_error %}
|
||||
{% set item_status = 'error' %}
|
||||
{% elseif item.is_warning %}
|
||||
{% set item_status = 'warning' %}
|
||||
{% endif %}
|
||||
<tr>
|
||||
<th>
|
||||
{% if item.url is defined %}
|
||||
<a href="{{ item.url }}" target="_blank">{{ item.label }}</a>
|
||||
{% else %}
|
||||
{{ item.label }}
|
||||
{% endif %}
|
||||
</th>
|
||||
<td class="wpml-support-info-check-{{ item_status }}">
|
||||
{{ item.value }}
|
||||
</td>
|
||||
{% if has_messages %}
|
||||
<td class="wpml-support-info-message">
|
||||
{% include 'messages.twig' %}
|
||||
</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user