Permalink
Browse files

fix if os_mon_other is empty

  • Loading branch information...
1 parent b8aac89 commit e43eca102433a666f6abcbf68a0901deaff3d332 @nniclausse nniclausse committed Dec 20, 2011
Showing with 11 additions and 9 deletions.
  1. +11 −9 src/templates/graph.thtml
View
@@ -119,20 +119,22 @@
</tr>
+ [% IF os_mon_other %]
- [% USE table(os_mon_other, cols=2) %]
- [% FOREACH row = table.rows %]
- <tr>
- [% FOREACH key = row %]
- <td>
+ [% USE table(os_mon_other, cols=2) %]
+ [% FOREACH row = table.rows %]
+ <tr>
+ [% FOREACH key = row %]
+ <td>
<a href="images/graphes-$key-mean.[% ext %]">
<img class="graph" src="images/graphes-$key-mean_tn.png" alt="other"/>
</a>
-</td>
- [% END %]
-</tr>
-[% END %]
+ </td>
+ [% END %]
+ </tr>
+ [% END %]
+ [% END %]
</table>
</div>

0 comments on commit e43eca1

Please sign in to comment.