Merge lp:~blake-rouse/maas/fix-1375427 into lp:~maas-committers/maas/trunk

Proposed by Blake Rouse
Status: Merged
Approved by: Blake Rouse
Approved revision: no longer in the source branch.
Merged at revision: 3129
Proposed branch: lp:~blake-rouse/maas/fix-1375427
Merge into: lp:~maas-committers/maas/trunk
Diff against target: 88 lines (+0/-68)
3 files modified
src/maasserver/templates/maasserver/bootimage-list.html (+0/-52)
src/maasserver/templates/maasserver/no-bootimages-warning.html (+0/-7)
src/maasserver/templates/maasserver/nodegroup_edit.html (+0/-9)
To merge this branch: bzr merge lp:~blake-rouse/maas/fix-1375427
Reviewer Review Type Date Requested Status
Newell Jensen (community) Approve
Review via email: mp+236428@code.launchpad.net

Commit message

Remove the deprecated boot images warning from the cluster edit page.

To post a comment you must log in.
Revision history for this message
Newell Jensen (newell-jensen) wrote :

Looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed file 'src/maasserver/templates/maasserver/bootimage-list.html'
2--- src/maasserver/templates/maasserver/bootimage-list.html 2014-05-02 14:26:44 +0000
3+++ src/maasserver/templates/maasserver/bootimage-list.html 1970-01-01 00:00:00 +0000
4@@ -1,52 +0,0 @@
5-{% extends "maasserver/base.html" %}
6-
7-{% block nav-active-result-list %}active{% endblock %}
8-{% block title %}Boot Image list{% endblock %}
9-{% block page-title %}
10-{{ paginator.count }} boot image{{ paginator.count|pluralize }}
11-in cluster {{ nodegroup.cluster_name }}
12-{% endblock %}
13-
14-{% block html_includes %}{% include "maasserver/snippets.html" %}
15-{% endblock %}
16-
17-{% block content %}
18- <div id="results">
19- <h2>Boot images in cluster <a href="{% url 'cluster-edit' nodegroup.uuid %}">{{ nodegroup.cluster_name }}</a></h2>
20- {% if not paginator.count %}
21- {% include "maasserver/no-bootimages-warning.html" %}
22- {% else %}
23- <table class="list">
24- <thead>
25- <tr>
26- <th>ID</th>
27- <th>OS</th>
28- <th>Release</th>
29- <th>Architecture</th>
30- <th>Subarchitecture</th>
31- <th>Purpose</th>
32- <th>Label</th>
33- <th>Imported on</th>
34- </tr>
35- </thead>
36- <tbody>
37- {% for bootimage in bootimage_list %}
38- <tr class="bootimage {% cycle 'even' 'odd' %}">
39- <td>{{ bootimage.id }}</td>
40- <td>{{ bootimage.osystem }}</td>
41- <td>{{ bootimage.release }}</td>
42- <td>{{ bootimage.architecture }}</td>
43- <td>{{ bootimage.subarchitecture }}</td>
44- <td>{{ bootimage.purpose }}</td>
45- <td>{{ bootimage.label }}</td>
46- <td>{{ bootimage.updated }}</td>
47- </tr>
48- {% endfor %}
49- </tbody>
50- </table>
51- {% include "maasserver/pagination.html" %}
52- {% endif %}
53- <div class="clear"></div>
54- </div>
55-
56-{% endblock %}
57
58=== removed file 'src/maasserver/templates/maasserver/no-bootimages-warning.html'
59--- src/maasserver/templates/maasserver/no-bootimages-warning.html 2014-05-27 10:13:57 +0000
60+++ src/maasserver/templates/maasserver/no-bootimages-warning.html 1970-01-01 00:00:00 +0000
61@@ -1,7 +0,0 @@
62-<p id="no_boot_images_warning">Warning: this cluster has no boot images!</p>
63-<p>
64- This cluster needs boot images in order to boot the nodes it controls.
65- Make sure that the cluster controller has access to the Ubuntu archive, and
66- start the import by clicking the "Import boot images" button on the
67- <a href="{% url 'cluster-list' %}">cluster listing page</a>.
68-</p>
69
70=== modified file 'src/maasserver/templates/maasserver/nodegroup_edit.html'
71--- src/maasserver/templates/maasserver/nodegroup_edit.html 2014-09-02 08:18:39 +0000
72+++ src/maasserver/templates/maasserver/nodegroup_edit.html 2014-09-29 21:35:25 +0000
73@@ -64,15 +64,6 @@
74 </table>
75 <a class="button right"
76 href="{% url 'cluster-interface-create' cluster.uuid %}">Add interface</a>
77-
78- <div class="clear"></div>
79- <h2>Boot images</h2>
80- {% if not cluster.bootimage_set.count %}
81- {% include "maasserver/no-bootimages-warning.html" %}
82- {% else %}
83- This cluster has {{ cluster.bootimage_set.count }} boot images.
84- <a href="{% url 'cluster-bootimages-list' cluster.uuid %}">View boot image list</a>.
85- {% endif %}
86 </form>
87 </div>
88 <div class="clear"></div>