cryptonas-branches/pythonrewrite/plugins/disks/disks.cs
lars 87d99e8173 new menu plugins: "help", "system_preferences" and "disks"
description of plugin interface extended with possible redirection to another plugin
2006-11-01 09:22:58 +00:00

15 lines
380 B
Smalltalk

<?cs # $Id$ ?>
<h1><?cs var:html_escape(Lang.Plugins.disks.Title.Disks) ?></h1>
<?cs # TODO: add no-disks-available warning ?>
<?cs if:subcount(Data.Disks) == 0 ?>
NO DISKS
<?cs else ?>
<?cs # we use "loop" instead of "each" to keep the order of the disks ?>
<?cs loop: index = #0, subcount(Data.Disks)-1, #1 ?>
<?cs call:show_volume(index) ?>
<?cs /loop ?>
<?cs /if ?>