cryptonas/plugins/disks/disks.cs
lars 405f6b90fa improved detection of 'active' plugin for marking in the main menu
plugin plugin_manager: prevent browser from caching repeatitive actions
plugin plugin_manager: add support for properties/volume visibility
plugins: moved message handling to central header file (templates/header.cs)
splitted 'volume_props' into 'volume_rename' and 'volume_chpasswd'
volume_props: turned into a container for small property changes
renamed 'format_fs' to 'volume_format_fs'
moved inclusion of 'show_volume_[header|footer].cs' to central header file
2006-11-13 16:11:07 +00:00

16 lines
443 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 ?>
<?cs call:hint(Lang.Plugins.disks.Text.NoDisksAvailable) ?>
<?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(Data.Disks[index]) ?>
<?cs /loop ?>
<?cs /if ?>