Merge lp:~james-w/python-oops-tools/remove-lp-branding into lp:python-oops-tools

Proposed by James Westby
Status: Merged
Approved by: Paul Hummer
Approved revision: 34
Merged at revision: 34
Proposed branch: lp:~james-w/python-oops-tools/remove-lp-branding
Merge into: lp:python-oops-tools
Diff against target: 50 lines (+3/-10)
3 files modified
src/oopstools/oops/templates/base.html (+1/-4)
src/oopstools/oops/templates/index.html (+1/-5)
src/oopstools/oops/test/pagetest.txt (+1/-1)
To merge this branch: bzr merge lp:~james-w/python-oops-tools/remove-lp-branding
Reviewer Review Type Date Requested Status
James Westby (community) Approve
Steve Kowalik (community) code Approve
Review via email: mp+105892@code.launchpad.net

Commit message

Remove the LP branding from the front page.

The service isn't Launchpad specific, and so saying
"Search Launchpad OOPS Reports" is incorrect.

Description of the change

Hi,

This removes the Launchpad branding as requested by Tom.

I haven't run the tests as I can't get a clean tree to pass tests on my
machine.

Thanks,

James

To post a comment you must log in.
Revision history for this message
Steve Kowalik (stevenk) :
review: Approve (code)
Revision history for this message
James Westby (james-w) wrote :

Hi,

Could someone please land this for me as I don't have access?

Thanks,

James

Revision history for this message
Robert Collins (lifeless) wrote :

Landing is done via tarmac; set a commit message and you are good to go.

Revision history for this message
Robert Collins (lifeless) wrote :

Oh, and the mp status - toggle that ot approved. I'm going to get rockstar to test the new permissions for that.

Revision history for this message
Robert Collins (lifeless) wrote :

@James - before setting a commit messsage, please also delete the no longer referenced png (I believe its no longer referenced...)

Revision history for this message
James Westby (james-w) wrote :

It is grabbing the png from launchpad.net directly, and there are no .png files in
the tree.

Thanks,

James

review: Approve
Revision history for this message
James Westby (james-w) wrote :

Hi,

Tarmac doesn't seem to be watching.

Thanks,

James

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/oopstools/oops/templates/base.html'
--- src/oopstools/oops/templates/base.html 2011-10-13 20:18:51 +0000
+++ src/oopstools/oops/templates/base.html 2012-05-15 20:33:17 +0000
@@ -2,16 +2,13 @@
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>4 <head>
5 <title>{% block title %}Search Launchpad OOPS Reports{% endblock %}</title>5 <title>{% block title %}Search OOPS Reports{% endblock %}</title>
6 <style type="text/css" media="screen">6 <style type="text/css" media="screen">
7 @import url("/oops/static/oops.css");7 @import url("/oops/static/oops.css");
8 </style>8 </style>
9 </head>9 </head>
10 <body>10 <body>
11 <div id="search">11 <div id="search">
12 {% block logo %}
13 <img src="https://launchpad.net/@@/launchpad-logo-and-name.png" />
14 {% endblock %}
15 <form action="">12 <form action="">
16 <input type="text" name="oopsid" />13 <input type="text" name="oopsid" />
17 <input type="submit" value="Search OOPS" />14 <input type="submit" value="Search OOPS" />
1815
=== modified file 'src/oopstools/oops/templates/index.html'
--- src/oopstools/oops/templates/index.html 2011-10-13 20:18:51 +0000
+++ src/oopstools/oops/templates/index.html 2012-05-15 20:33:17 +0000
@@ -1,10 +1,6 @@
1{% extends "base.html" %}1{% extends "base.html" %}
22
3{% block title %}Search Launchpad OOPS Reports{% endblock %}3{% block title %}Search OOPS Reports{% endblock %}
4
5{% block logo %}
6 <img src="https://launchpad.net/@@/launchpad-logo-and-name.png" />
7{% endblock %}
84
9{% block summaries %}5{% block summaries %}
10<h2>Available reports</h2>6<h2>Available reports</h2>
117
=== modified file 'src/oopstools/oops/test/pagetest.txt'
--- src/oopstools/oops/test/pagetest.txt 2011-11-16 23:21:38 +0000
+++ src/oopstools/oops/test/pagetest.txt 2012-05-15 20:33:17 +0000
@@ -7,7 +7,7 @@
7 >>> b.open('http://localhost/oops/')7 >>> b.open('http://localhost/oops/')
88
9 >>> b.title9 >>> b.title
10 'Search Launchpad OOPS Reports'10 'Search OOPS Reports'
1111
12Using a invalid OOPS id the page returns a nice error message saying no OOPS12Using a invalid OOPS id the page returns a nice error message saying no OOPS
13match the given id.13match the given id.

Subscribers

People subscribed via source and target branches

to all changes: