Merge lp:~jakedahn/horizon/templates-cleanup into lp:~devcamcar/horizon/trunk

Proposed by Jake Dahn
Status: Merged
Approved by: Devin Carlen
Approved revision: 9
Merge reported by: Devin Carlen
Merged at revision: not available
Proposed branch: lp:~jakedahn/horizon/templates-cleanup
Merge into: lp:~devcamcar/horizon/trunk
Diff against target: 109 lines (+13/-27)
7 files modified
dashboard/templates/403.html (+0/-8)
dashboard/templates/404.html (+0/-8)
dashboard/templates/500.html (+0/-8)
dashboard/templates/base-root.html (+0/-1)
dashboard/templates/index.html (+1/-1)
dashboard/templates/unavailable.html (+11/-0)
dashboard/urls.py (+1/-1)
To merge this branch: bzr merge lp:~jakedahn/horizon/templates-cleanup
Reviewer Review Type Date Requested Status
Devin Carlen Approve
Review via email: mp+47217@code.launchpad.net

Description of the change

Cleaning up templates, and adding unavailable.html to templates.

To post a comment you must log in.
Revision history for this message
Devin Carlen (devcamcar) wrote :

approve

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'dashboard/templates/403.html'
2--- dashboard/templates/403.html 2011-01-12 21:43:31 +0000
3+++ dashboard/templates/403.html 2011-01-24 05:42:14 +0000
4@@ -22,14 +22,6 @@
5 {% block nav_projects %}
6 <li><h3><a href="/">Projects</a></h3></li>
7 {% endblock %}
8-
9- {% block nav_forum %}
10- <li><h3><a href="/forum">Forums</a></h3></li>
11- {% endblock %}
12-
13- {% block nav_kb %}
14- <li><h3><a href="/kb/show/Start/">Knowledge Base</a></h3></li>
15- {% endblock %}
16 </ul>
17 </div> <!-- end sidebar -->
18 {% endblock %}
19
20=== modified file 'dashboard/templates/404.html'
21--- dashboard/templates/404.html 2011-01-12 21:43:31 +0000
22+++ dashboard/templates/404.html 2011-01-24 05:42:14 +0000
23@@ -21,14 +21,6 @@
24 {% block nav_projects %}
25 <li><h3><a href="/">Projects</a></h3></li>
26 {% endblock %}
27-
28- {% block nav_forum %}
29- <li><h3><a href="/forum">Forums</a></h3></li>
30- {% endblock %}
31-
32- {% block nav_kb %}
33- <li><h3><a href="/kb/show/Start/">Knowledge Base</a></h3></li>
34- {% endblock %}
35 </ul>
36 </div> <!-- end sidebar -->
37 {% endblock %}
38
39=== modified file 'dashboard/templates/500.html'
40--- dashboard/templates/500.html 2011-01-12 21:43:31 +0000
41+++ dashboard/templates/500.html 2011-01-24 05:42:14 +0000
42@@ -21,14 +21,6 @@
43 {% block nav_projects %}
44 <li><h3><a href="/">Projects</a></h3></li>
45 {% endblock %}
46-
47- {% block nav_forum %}
48- <li><h3><a href="/forum">Forums</a></h3></li>
49- {% endblock %}
50-
51- {% block nav_kb %}
52- <li><h3><a href="/kb/show/Start/">Knowledge Base</a></h3></li>
53- {% endblock %}
54 </ul>
55 </div> <!-- end sidebar -->
56 {% endblock %}
57
58=== modified file 'dashboard/templates/base-root.html'
59--- dashboard/templates/base-root.html 2011-01-17 09:59:30 +0000
60+++ dashboard/templates/base-root.html 2011-01-24 05:42:14 +0000
61@@ -37,7 +37,6 @@
62 <div id="content_wrap">
63 {% block sidebar %}{% endblock %}
64 {% block region %}{% endblock %}
65- {% block forum_breadcrumbs %}{% endblock %}
66 <div id="content" class="{% block pageclass %}{% endblock %}">
67 {% block rootcontent %}{% endblock %}
68 </div><!-- end content -->
69
70=== modified file 'dashboard/templates/index.html'
71--- dashboard/templates/index.html 2011-01-12 21:43:31 +0000
72+++ dashboard/templates/index.html 2011-01-24 05:42:14 +0000
73@@ -46,7 +46,7 @@
74 <input type="hidden" name="next" value="/" />
75 <div class="button">
76 <input id="home_login_btn" type="submit" value="Sign In">
77- <span id="forgot_password">or <a id="forgot_password_link" href="{% url auth_password_reset %}">Forgot Password?</a></span>
78+ <span id="forgot_password"><a id="forgot_password_link" href="{% url auth_password_reset %}">Forgot Password?</a></span>
79 </div>
80 </fieldset>
81 </form>
82
83=== added file 'dashboard/templates/unavailable.html'
84--- dashboard/templates/unavailable.html 1970-01-01 00:00:00 +0000
85+++ dashboard/templates/unavailable.html 2011-01-24 05:42:14 +0000
86@@ -0,0 +1,11 @@
87+{% extends "dashboard/base.html" %}
88+
89+{% block title %} - Service Unavailable{% endblock %}
90+{% block pageclass %}unavailable{% endblock %}
91+
92+{% block content %}
93+ <div id="page_head">
94+ <h2 id="page_heading">Service Unavailable</h2>
95+ <p id="page_description">This service is temporarily unavailable, please check back soon.</p>
96+ </div>
97+{% endblock %}
98
99=== modified file 'dashboard/urls.py'
100--- dashboard/urls.py 2011-01-15 09:05:54 +0000
101+++ dashboard/urls.py 2011-01-24 05:42:14 +0000
102@@ -50,7 +50,7 @@
103 name='dashboard_permission_denied'),
104 url(r'^unavailable/$',
105 'direct_to_template',
106- {'template': 'django_nova/unavailable.html'},
107+ {'template': 'unavailable.html'},
108 name='nova_unavailable'),
109 )
110

Subscribers

People subscribed via source and target branches

to all changes:
to status/vote changes: