Re: Toaster enhancement set posted

Richard Purdie <[email protected]>
Newsgroups org.yoctoproject.lists.toaster
Message-ID <f9bd0a1b802435ef53f49b218f42e54f94232c4a.camel@linuxfoundation.org>
Hi David,

On Fri, 2018-06-29 at 08:37 +0000, Reyna, David wrote:
> We have found one small glitch. I will repost an adjusted patch
> tomorrow.
> 
> Normally a new project has only a "Prepare" button to close the
> configure page, as opposed to a "Update" and a "Cancel" button. The
> "Cancel" button is hidden to insure that new projects pass through
> the clone phase before closing so that the project would be buildable
> with all layers accounted for. 
> 
> The observed error is that only the main configure page had that
> button substitution, because the flag was not passed into the global
> context.
> 
> The fix is to add a helper method "get_is_new" to the "Project" model
> in order to make this variable always available to
> "project_specific_topbar.html".

Did you repost a new version of this somewhere? I'm happy to merge but
not sure I have the right version in -next.

A pointer to the correct patch would be useful!

Cheers,

Richard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.