1 <h3>{% trans 'Indexes' %}</h3>
2 <table id="tablestructure_indexes" class="data">
5 <th>{% trans 'Keyname' %}</th>
6 <th>{% trans 'Type' %}</th>
7 <th>{% trans 'Unique' %}</th>
8 <th>{% trans 'Packed' %}</th>
9 <th>{% trans 'Column' %}</th>
10 <th>{% trans 'Cardinality' %}</th>
11 <th>{% trans 'Collation' %}</th>
12 <th>{% trans 'Null' %}</th>
13 <th>{% trans 'Comment' %}</th>
17 {% for index in indexes %}
20 <strong>{{ index['Key_name'] }}</strong>
22 <td>{{ index['Index_type'] }}</td>
23 <td>{{ index['Non_unique'] == 0 ? 'Yes'|trans : 'No'|trans }}</td>
24 <td>{{ index['Packed'] != '' ? 'Yes'|trans : 'No'|trans }}</td>
25 <td>{{ index['Column_name'] }}</td>
26 <td>{{ index['Cardinality'] }}</td>
27 <td>{{ index['Collation'] }}</td>
28 <td>{{ index['Null'] }}</td>
29 <td>{{ index['Comment'] }}</td>