Disallow creation of a filesystem on a slice with partitions

This commit is contained in:
Jamie Cameron
2013-04-04 22:21:25 -07:00
parent 56e5bec6b3
commit 1304aeee3d

View File

@@ -124,7 +124,9 @@ if ($canedit) {
print &ui_hr();
print &ui_buttons_start();
&show_filesystem_buttons($hiddens, \@st, $slice);
if (!@{$slice->{'parts'}}) {
&show_filesystem_buttons($hiddens, \@st, $slice);
}
# Button to delete slice
print &ui_buttons_row(