PQM

Merge lp://staging/~spm/pqm/project-name-in-ui into lp://staging/pqm

Proposed by Steve McInerney
Status: Merged
Merged at revision: not available
Proposed branch: lp://staging/~spm/pqm/project-name-in-ui
Merge into: lp://staging/pqm
Diff against target: None lines
To merge this branch: bzr merge lp://staging/~spm/pqm/project-name-in-ui
Reviewer Review Type Date Requested Status
pqm developers Pending
Review via email: mp+6560@code.staging.launchpad.net
To post a comment you must log in.
Revision history for this message
Steve McInerney (spm) wrote :

trivial UI modification, as used by LP internally.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'pqm/ui/twistd.py'
2--- pqm/ui/twistd.py 2008-08-06 03:20:27 +0000
3+++ pqm/ui/twistd.py 2009-05-14 01:23:35 +0000
4@@ -57,7 +57,7 @@
5 def getProjectPage(self, selected_project, request):
6 """Render the project page."""
7
8- text = "<h1>PQM Queue: %d scripts</h1>" % len(self.queue.messages)
9+ text = "<h1>PQM Queue for %s: %d scripts</h1>" % (selected_project, len(self.queue.messages))
10 if not self.queue.is_processing_requests:
11 text += "<h2>PQM is not currently processing additional requests</h2>"
12 text += "<p>Current time: %s UTC</p>" % cgi.escape(

Subscribers

People subscribed via source and target branches