File tree 1 file changed +38
-36
lines changed
1 file changed +38
-36
lines changed Original file line number Diff line number Diff line change 36
36
</tr >
37
37
</thead >
38
38
<tbody >
39
- {% for name , config in configuration .datasources if config is iterable %}
40
- <tr >
41
- <th rowspan =" 5" style =" vertical-align: top;" >
42
- {{ name }}
43
- </th >
44
- <th >Adapter</th >
45
- <td >{{ config .adapter }}</td >
46
- </tr >
47
- <tr >
48
- <th >DSN</th >
49
- <td >{{ config .connection .dsn }}</td >
50
- </tr >
51
- <tr >
52
- <th >Class</th >
53
- <td >{{ config .connection .classname }}</td >
54
- </tr >
55
- <tr >
56
- <th >Options</th >
57
- <td >
58
- <ul >
59
- {% for key , value in config .connection .options %}
60
- <li >{{ key }} : {{ value }}</li >
61
- {% endfor %}
62
- </ul >
63
- </td >
64
- </tr >
65
- <tr >
66
- <th >Attributes</th >
67
- <td >
68
- <ul >
69
- {% for key , value in config .connection .attributes %}
70
- <li >{{ key }} : {{ value }}</li >
71
- {% endfor %}
72
- </ul >
73
- </td >
74
- </tr >
39
+ {% for name , config in configuration .datasources %}
40
+ {% if config is iterable %}
41
+ <tr >
42
+ <th rowspan =" 5" style =" vertical-align: top;" >
43
+ {{ name }}
44
+ </th >
45
+ <th >Adapter</th >
46
+ <td >{{ config .adapter }}</td >
47
+ </tr >
48
+ <tr >
49
+ <th >DSN</th >
50
+ <td >{{ config .connection .dsn }}</td >
51
+ </tr >
52
+ <tr >
53
+ <th >Class</th >
54
+ <td >{{ config .connection .classname }}</td >
55
+ </tr >
56
+ <tr >
57
+ <th >Options</th >
58
+ <td >
59
+ <ul >
60
+ {% for key , value in config .connection .options %}
61
+ <li >{{ key }} : {{ value }}</li >
62
+ {% endfor %}
63
+ </ul >
64
+ </td >
65
+ </tr >
66
+ <tr >
67
+ <th >Attributes</th >
68
+ <td >
69
+ <ul >
70
+ {% for key , value in config .connection .attributes %}
71
+ <li >{{ key }} : {{ value }}</li >
72
+ {% endfor %}
73
+ </ul >
74
+ </td >
75
+ </tr >
76
+ {% endif %}
75
77
{% endfor %}
76
78
</tbody >
77
79
</table >
You can’t perform that action at this time.
0 commit comments