summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/hostbase/webtemplates
diff options
context:
space:
mode:
authorKen Raffenetti <raffenet@mcs.anl.gov>2007-02-16 23:07:20 +0000
committerKen Raffenetti <raffenet@mcs.anl.gov>2007-02-16 23:07:20 +0000
commitec792474be03120e868f5b48788209c2a845bad7 (patch)
tree45e3e6cce4ee09f44cb0f974530b9bc87a5f16e9 /src/lib/Server/Hostbase/hostbase/webtemplates
parent4d378406460e802d59a63dd39241f3e95b80e464 (diff)
downloadbcfg2-ec792474be03120e868f5b48788209c2a845bad7.tar.gz
bcfg2-ec792474be03120e868f5b48788209c2a845bad7.tar.bz2
bcfg2-ec792474be03120e868f5b48788209c2a845bad7.zip
host copy function and other bug fixes
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2835 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase/hostbase/webtemplates')
-rw-r--r--src/lib/Server/Hostbase/hostbase/webtemplates/errors.html7
-rw-r--r--src/lib/Server/Hostbase/hostbase/webtemplates/results.html1
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/errors.html b/src/lib/Server/Hostbase/hostbase/webtemplates/errors.html
index 46050d941..a57e858cb 100644
--- a/src/lib/Server/Hostbase/hostbase/webtemplates/errors.html
+++ b/src/lib/Server/Hostbase/hostbase/webtemplates/errors.html
@@ -16,9 +16,12 @@
{% if failures %}
There were errors in the following fields<br><br>
-{% for failure in failures.items %}
+{% for failure in failures %}
-<font color="#FF0000">{{ failure.0 }}: {{ failure.1|join:", " }}</font><br>
+<font color="#FF0000">{{ failure }}</font><br>
+{% comment %}
+{{ failure.1|join:", " }}
+{% endcomment %}
{% endfor %}
{% endif %}
diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/results.html b/src/lib/Server/Hostbase/hostbase/webtemplates/results.html
index 43cb78f67..439c606c9 100644
--- a/src/lib/Server/Hostbase/hostbase/webtemplates/results.html
+++ b/src/lib/Server/Hostbase/hostbase/webtemplates/results.html
@@ -34,6 +34,7 @@
{% endif %}
<td> <a href="{{ host.1 }}">view</a> </td>
<td> <a href="{{ host.1 }}/edit">edit</a> </td>
+ <td> <a href="{{ host.1 }}/copy">copy</a> </td>
<!-- <td> <a href="{{ host.1 }}/remove">remove</a> </td> -->
</tr>
{% endfor %}