cryptonas-branches/pythonrewrite/templates/nav.cs

26 lines
1.4 KiB
C#
Raw Normal View History

2006-08-14 17:40:12 +02:00
<?cs # $Id$ ?>
<?cs # mounting possible? ?>
<?cs if:((Data.Status.Config == 1) && (Data.Status.InitRunning == 0)) ?>
<!-- TODO: remove the following lines, as soon as we completely switched to the volume-based user interface
<?cs if:subcount(Data.Disks.passive) > 0 ?>
2006-08-24 11:02:10 +02:00
<a href="<?cs call:link('mount_ask','','','','') ?>" title="<?cs var:html_escape(Lang.Text.DoMount) ?>"><?cs var:html_escape(Lang.Button.Mount) ?></a><?cs /if ?>
<?cs if:Data.activeDisksCount > 0 ?>
2006-08-24 11:02:10 +02:00
<a href="<?cs call:link('umount_ask','','','','') ?>" title="<?cs var:html_escape(Lang.Text.DoUmount) ?>"><?cs var:html_escape(Lang.Button.Umount) ?></a><?cs /if ?>
2006-08-14 17:40:12 +02:00
-->
<a href="<?cs if:subcount(Data.Disks) > 1
2006-08-24 11:02:10 +02:00
?><?cs call:link('show_status','','','','')
2006-08-14 17:40:12 +02:00
?><?cs else
?><?cs call:link('show_volume','device',Data.Disks.0.device,'','')
2006-08-14 17:40:12 +02:00
?><?cs /if
?>" title="<?cs var:html_escape(Lang.Button.Status) ?>"><?cs var:html_escape(Lang.Button.Status) ?></a>
<?cs /if ?>
<?cs # manual ?>
<a href="<?cs call:link('doc','','','','') ?>" title="<?cs var:html_escape(Lang.Button.Documentation) ?>"><?cs var:html_escape(Lang.Button.Documentation) ?></a>
<a href="<?cs call:link('status','','','','') ?>" title="<?cs var:html_escape(Lang.Button.Status) ?>"><?cs var:html_escape(Lang.Button.Status) ?></a>
<a href="<?cs call:link('system','','','','') ?>" title="<?cs var:html_escape(Lang.Button.System) ?>"><?cs var:html_escape(Lang.Button.System) ?></a>
2006-08-14 17:40:12 +02:00