<h2>Bug #11 in Jokosher: "Make Jokosher use autoaudiosink"</h2>
<h1>Add a comment or attachment to Bug #11</h1>
is better than, IMO, the layout I did for the bug activity log:
<h1>Activity log for bug #11: Make Jokosher use autoaudiosink</h1>
That would have been better as:
<h2>Bug #11 in Jokosher: "Make Jokosher use autoaudiosink"</h2>
<h1>Activity log for bug #11</h1>
So that there's a consistent look, could you could patch the bug
activity stuff to look the same as here and land it in this branch?
There's a patch at <http://pastebin.ubuntu.com/255760/>.
Hi Deryck,
Looks good. The layout of the page:
<h2>Bug #11 in Jokosher: "Make Jokosher use autoaudiosink"</h2>
<h1>Add a comment or attachment to Bug #11</h1>
is better than, IMO, the layout I did for the bug activity log:
<h1>Activity log for bug #11: Make Jokosher use autoaudiosink</h1>
That would have been better as:
<h2>Bug #11 in Jokosher: "Make Jokosher use autoaudiosink"</h2>
<h1>Activity log for bug #11</h1>
So that there's a consistent look, could you could patch the bug pastebin. ubuntu. com/255760/>.
activity stuff to look the same as here and land it in this branch?
There's a patch at <http://
Other than that, only one tiny comment :)
Gavin.
> === modified file 'lib/canonical/ launchpad/ pagetitles. py' launchpad/ pagetitles. py 2009-08-19 02:58:06 +0000 launchpad/ pagetitles. py 2009-08-19 13:49:59 +0000 bugs/browser/ bugmessage. py' bugs/browser/ bugmessage. py 2009-08-05 15:05:52 +0000 bugs/browser/ bugmessage. py 2009-08-19 13:49:59 +0000 focus_widget = None
> --- lib/canonical/
> +++ lib/canonical/
> @@ -230,8 +230,6 @@
>
> bug_branch_add = LaunchbagBugID('Bug #%d - Add branch')
>
> -bug_comment_add = LaunchbagBugID('Bug #%d - Add a comment or attachment')
> -
> bug_cve = LaunchbagBugID("Bug #%d - Add CVE reference")
>
> bug_edit = ContextBugId('Bug #%d - Edit')
>
> === modified file 'lib/lp/
> --- lib/lp/
> +++ lib/lp/
> @@ -25,6 +25,14 @@
> initial_
>
> @property
> + def label(self):
> + return 'Add a comment or attachment to Bug #%d' % self.context.bug.id
I think: s/Bug/bug/
> + values( self): self.context. bug.followup_ subject( )) bugs/browser/ configure. zcml' bugs/browser/ configure. zcml 2009-07-27 12:39:34 +0000 bugs/browser/ configure. zcml 2009-08-19 13:49:59 +0000 bugs.interfaces .bugtask. IBugTask" lp.bugs. browser. bug.BugView" lp.bugs. browser. bugmessage. BugMessageAddFo rmView" "launchpad. Edit" "../templates/ bug-comment- add.pt" /> bugs/templates/ bug-comment- add.pt' bugs/templates/ bug-comment- add.pt 2009-07-17 17:59:07 +0000 bugs/templates/ bug-comment- add.pt 2009-08-19 13:49:59 +0000 xml.zope. org/namespaces/ tal" xml.zope. org/namespaces/ metal" xml.zope. org/namespaces/ i18n" macro=" context/ @@main_ template/ master" "malone" rightportlets fill-slot= "portlets_ two"> "structure context/ bug/@@+ portlet- attachments" /> "structure context/ @@+portlet- search" /> rightportlets> "pageheading" "href bugtask/fmt:url" "context/ bug/id" >3252543< /tal:bug> </a>: "context/ bug/title" >Foo doesn't work</tal:title> macro=" view/macro: page/main_ only" "malone" > slot="main" > "structure context/ @@+addcomment- form" /> slot="main" > "structure context/ @@+addcomment- form" />
> + @property
> + def page_title(self):
> + return self.label
> +
> + @property
> def initial_
> return dict(subject=
>
>
> === modified file 'lib/lp/
> --- lib/lp/
> +++ lib/lp/
> @@ -524,7 +524,7 @@
> <browser:page
> name="+addcomment"
> for="lp.
> - class="
> + class="
> permission=
> template=
> <browser:page
>
> === modified file 'lib/lp/
> --- lib/lp/
> +++ lib/lp/
> @@ -3,33 +3,12 @@
> xmlns:tal="http://
> xmlns:metal="http://
> xmlns:i18n="http://
> - xml:lang="en"
> - lang="en"
> - dir="ltr"
> - metal:use-
> - i18n:domain=
> ->
> -
> -<metal:
> - <div tal:replace=
> - <div tal:replace=
> -</metal:
> -
> -<body>
> - <metal:heading fill-slot=
> - tal:define="bugtask context">
> - <div>
> - <img alt="" src="/@@/bug" />
> - <a tal:attributes=
> - >Bug #<tal:bug replace=
> - <tal:title replace=
> + metal:use-
> + i18n:domain=
> + <body>
> + <div metal:fill-
> + <div tal:content=
> </div>
> - <h1>Add a comment or attachment</h1>
> - </metal:heading>
> - <div metal:fill-
> - <div tal:content=
> - </div>
> -</body>
> -
> + </body>
> </html>
>
>