murano-dashboard/muranodashboard/templates/environments/_data_table.html
zhurong 94b0c092ed Fix broken dashboard tables
Due to this patch: https://review.openstack.org/#/c/246625/, Horizon
changes the table styles. This broke murano-dashboard tables.

This patch fixes the following:
1 Fix package, images, categories, environments table looks broken
2 Fix import package descriptions displayed
3 Removes unicode symbols from README to unlock py34 gate
4 Comment out the 'multi_select=false' to pass the ci test
5 Dixed broken tests

Co-Authored-By: Kirill Zaitsev <k.zaitsev@me.com>

Change-Id: I802aaa89021b5f20805a498ad2a17ba73c076bed
Closes-bug: #1552702
Closes-bug: #1550822
Closes-bug: #1554317
2016-03-09 14:16:23 +03:00

22 lines
657 B
HTML

{% extends 'horizon/common/_data_table.html' %}
{% load i18n %}
{% block title %}{% trans "Environments" %}{% endblock %}
{% block table_body %}
<tbody>
{% for row in rows %}
{{ row.render }}
{% empty %}
<tr class="{% cycle 'odd' 'even' %} empty">
<td colspan="{{ table.get_columns|length }}">
<h4 class="no_envs">{{ table.get_empty_message }}</h4>
<div class="add_env">
<a href="{% url 'horizon:murano:environments:create_environment' %}" class="btn btn-primary">
<i class="fa fa-plus-circle"></i> {% trans "Add New" %}
</a></div>
</td>
</tr>
{% endfor %}
</tbody>
{% endblock table_body %}