summaryrefslogtreecommitdiffstats
path: root/webui_templates
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-02-08 10:09:19 -0500
committerMichael DeHaan <mdehaan@redhat.com>2008-02-08 10:09:19 -0500
commitcb940f7bc9b715814ac48269379a6525fa427cdf (patch)
treeaf02feaf00722d20f5060978b119e146fba6b611 /webui_templates
parent41fadd646affc9cd8e4fd9aed071c0d79fb1705d (diff)
downloadthird_party-cobbler-cb940f7bc9b715814ac48269379a6525fa427cdf.tar.gz
third_party-cobbler-cb940f7bc9b715814ac48269379a6525fa427cdf.tar.xz
third_party-cobbler-cb940f7bc9b715814ac48269379a6525fa427cdf.zip
Apply Tim's patch to remove random mac link when editing.
Diffstat (limited to 'webui_templates')
-rw-r--r--webui_templates/system_edit.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/webui_templates/system_edit.tmpl b/webui_templates/system_edit.tmpl
index e785e05..22bdda4 100644
--- a/webui_templates/system_edit.tmpl
+++ b/webui_templates/system_edit.tmpl
@@ -277,7 +277,9 @@ function page_onload() {
value="$macaddress"
/>
+ #if not $system
<a href="javascript: get_random_mac('macaddress-$interface')" style="font-size: 0.8em;">Random MAC</a>
+ #end if
<p class="context-tip">Example: AA:BB:CC:DD:EE:FF</p>
</td>