> + tal:define="menu context/menu:overview">
> > +
> + tal:condition="link/enabled"
> > + tal:content="structure link/render" />
> > +
>
> This is 2.0 style. We do not want to float admin links the to side. They
> may be in the content or in the side portlet as an action menu. Since this
> page does not have side portlet, I think we can work this into the content
> above the branch listing...
>
> >
Bazaar branches for
>
> ...Something like this before the listing.
>
>
> Branches are
> by default.
>
>
I could do that, but I think it's important that product-branches.pt is
updated at the same time, to make sure they're consistent. I'd also have
to get this past UI review, which might delay this branch -- that's the
reason why I didn't try converting it to 3.0
>
> ...
>
> >
>
> ...
>
> > === modified file 'lib/lp/registry/browser/project.py'
> > --- lib/lp/registry/browser/project.py 2009-08-05 01:49:41 +0000
> > +++ lib/lp/registry/browser/project.py 2009-08-10 19:53:47 +0000
>
> ...
>
> @@ -220,19 +215,39 @@
>
> ...
>
> > +class ProjectActionMenu(NavigationMenu):
> > +
> > + usedfor = IProjectActionMenu
> > + facet = 'overview'
> > + title = 'Action menu'
> > + links = ('subscribe', 'edit', 'administer')
> > +
> > + # XXX: salgado, 2009-08-10: This should be shown in the +index page of the
> > + # project's bugs facet, but that would require too much work and I just
> > + # want to convert this page to 3.0, so I'll leave it here for now.
> > def subscribe(self):
> > text = 'Subscribe to bug mail'
> > return Link('+subscribe', text, icon='edit')
>
> Do we need a bug number for this XXX. I am tempted to say we want to do to
Yes, I think we do.
https://bugs.edge.launchpad.net/malone/+bug/412178
> define two clean up tasks for links and menus:
>
> 1. Define all links in mixins so that we are certain there is a single
> definition. Menus *must* use the mixin instead of define their own
> links.
Even if that means having a menu which just inherits from a mixin and
don't define any other links? In the case of project group, I think
that'd be the case for most of them.
> 2. Make menu mixins for interfaces such as IPillar and
> IHasStructuralSubscriptions so that we share common links.
Do they have enough common links to justify doing this? I know there are
plenty of pages that have the same purpose, but some (most?) of them
have different names/URLs, don't they?
>
> ...
>
> > === modified file 'lib/lp/registry/templates/project-details.pt'
> > --- lib/lp/registry/templates/project-details.pt 2009-07-17 17:59:07 +0000
> > +++ lib/lp/registry/templates/project-details.pt 2009-08-10 19:04:22 +0000
>
> ...
>
> > +
> > +
> > +
> > +
> > + Status: |
> > +
> > + Active
> > + Disabled
> > + Reviewed
> > + Branded
> > +
> > +
> > + |
> > +
>
> ...
>
>
> This should become a set of definition lists so that it uses the 3.0
> layout and style correctly.
>
> /me steals example and hacks a possible solution.
>
>
>
Project information
>
>
It looks much nicer now.
>
>
Do you mean to have the status below the others instead of above them as
it currently is?
>
>
>
> Registered
>
> by
>
>
>
>
>
> > === modified file 'lib/lp/registry/templates/project-index.pt'
> > --- lib/lp/registry/templates/project-index.pt 2009-07-17 17:59:07 +0000
> > +++ lib/lp/registry/templates/project-index.pt 2009-08-11 14:26:36 +0000
>
> ...
>
> > +
> > + Mozilla
> > +
> > +
> > +
> > +
> > +
> > +
> > + This project is currently inactive (change this)
> >
>
> The link should come from the menu: maybe
>
>
To keep the text of the link I need to do it slightly different, but it
achieves the point -- that the link's URL comes from a menu.
This project is currently inactive
(change this)
>
> ...
>
> > +
> > +
>
> I see trailing whitespace.
Remove them all around.
>
> > + There are no projects registered for
> > + project displayname.
> > +
> > + You need to register another project that is
> > + part of or associate
> > + an existing project with it.
> > +
> > +
>
> This information should be moved into the project portlet below so that
> we show it once. I think the new +newproduct link should always be at the
> bottom of projects portlet.
The link is always shown there, as well as the notice, although it's not
a warning like it is here. I don't quite like having this as a warning
but on the other hand, having a project group with no projects is
meaningless, so we must try and make sure users see something is wrong.
I'm not sure what to do in this case.
>
>
> This is the project group Summary, which should be a single paragraph
>
> Use class="summary" to present the summary as a summary.
Wow! Now I can even distinguish the summary from the description in the
page. :)
> ...
>
> > +
> + tal:content="structure context/menu:overview/rdf/fmt:link-icon" />
>
> The rdf goes into the side portlets like the project. This is awkward
> since there are no downloads to pair with it.
Right, that's why I left it right below the project's description. I'd
prefer it as close as possible to the project's info, but I could move
it to the side portlet if you want.
>
> > +
> > +
> > +
> > +
Project group information
> > +
>
> Are the details used else where? if not, I think the
>
>
>
Project group information
>
> should be moved into the portlet so that it is self-contained.
It's not, so this is done.
>
> ...
>
> > +
> > +
> > +
Projects
> > +
>
> I see trailing whitespace.
Removed too
>
> > + There are no projects registered for
> > + project displayname.
> > +
> > +
> + tal:condition="context/products"
> > + tal:repeat="product context/products">
> > +
> > +
> > +
> > +
>
> This looks familiar. I know I hacked in this recently. This is fine to
> land but I think we need to rethink this. The release is now presented
> as a state of a milestone, so we want a single list that shows releases
> differently than milestones.
>
> Well, why is the list of releases and milestones here? We do not list this
> much information in the project page. We are only show the current
> release and the current series. This should be the same. Maybe
This would make a lot more sense, I think.
>
>
> -
>
-
> series
> _release_ ,_release_,
> milestone, milestone
>
>
This is what I ended up with:
- product
-
trunk
series:
release
,
milestone
,
Is this what you had in mind?
>
>
> ...
>
> > +
> > + » Register another project that is
> > + part of
> > +
>
> This should be a standard link presented as a list in case we get more than
> one. Something like this.
>
> tal:condition="overview_menu/project_add/enabled">
> -
>
>
>
>
Martin suggested this and floating the link to the right, so I added a
float:right to the .
> ...
>
> > +
> > +
> > +
>
> I see trailing whitespace.
Removed
>
> ...
>
> > +
> + tal:condition="context/products">
> > +
Get Involved
> > +
> > +
>
> Use this, though you may need to fix the view in browser/pillar.py
>
>
IProject doesn't provide any of the official_* attributes used in the
view/template and we also don't want 'Submit code' and 'Register a
Blueprint' links, so I'd have to special case everything in the
view/template to make it possible to use it here. I'd rather not do
that.
--
Guilherme Salgado