summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9dc6ac6)
raw | patch | inline | side by side (parent: 9dc6ac6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 30 Mar 2010 11:57:24 +0000 (11:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 30 Mar 2010 11:57:24 +0000 (11:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17393 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/faiPartitionTable.tpl | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/faiPartitionTable.tpl b/gosa-plugins/fai/admin/fai/faiPartitionTable.tpl
index a6a90cc19db540d6ad340d29303fd53498e46c1e..b454ee9ac99214d7eb28a2df80c75d527f46a520 100644 (file)
{if $sub_object_is_addable}
<button type='submit' name='AddDisk' title="{t}Add disk{/t}">{t}Add disk{/t}</button>
- <button type='submit' name='AddRaid' id="AddRaid" title="{t}Add RAID{/t}">{t}Add RAID{/t}</button>
- <button type='submit' name='AddVolgroup' id="AddVolgroup" title="{t}Add volume group{/t}">{t}Add volume group{/t}</button>
+ <button {$storage_mode} {$addraid} type='submit' name='AddRaid' id="AddRaid" title="{t}Add RAID{/t}">{t}Add RAID{/t}</button>
+ <button {$storage_mode} type='submit' name='AddVolgroup' id="AddVolgroup" title="{t}Add volume group{/t}">{t}Add volume group{/t}</button>
{else}
- <button type='submit' name='AddDisk' title="{t}Add disk{/t}">{t}Add disk{/t}</button>
- <button type='submit' name='AddRaid' title="{t}Add RAID{/t}">{t}Add RAID{/t}</button>
- <button type='submit' name='AddVolgroup' title="{t}Add volume group{/t}">{t}Add volume group{/t}</button>
+ <button type='button' disabled name='AddDisk' title="{t}Add disk{/t}">{t}Add disk{/t}</button>
+ <button type='button' disabled name='AddRaid' title="{t}Add RAID{/t}">{t}Add RAID{/t}</button>
+ <button type='button' disabled name='AddVolgroup' title="{t}Add volume group{/t}">{t}Add volume group{/t}</button>
{/if}
</td>