On Fri, 2010-04-23 at 17:19 +0200, Danilo Šegan wrote: > У чет, 22. 04 2010. у 05:15 +0300, Adi Roiban пише: > > Are there any guidelines for when to register and use a > > "menu:navigation" and when to just create the URL on the fly ? > > > > The file translations/templates/customlanguagecodes-index.pt contains > > both type of links and I don't know what are the considerations for > > using one type or another. > > > > ------- > > You can <a tal:attributes="href context/menu:navigation/download/url"> > > download a full tarball</a> with translations. > > > > If necessary, you may <a tal:attributes="href > > context/distribution_sourcepackage/fmt:url/+custom-language-codes" > > class="edit sprite"> define custom language codes</a> > > -------- > > Well, menu:navigation classes are there for subpages. When they exist, > it's better to use them. When they don't exist, we probably shouldn't > create them unless we really want them to be there as subpages (i.e. > we'd be fine if they would appear in a submenu on that page). > > This is only my take on this, though. Note that menu:navigation is now > mostly historical and in many (especially translations) pages it's used > only because we wanted to preserve the way to change link in one (or > two, but O(1) anyway) place only.
I am not sure if I understood correctly the purpose of menu:navigation and NavigationMenu in general and when it recommended to use them. It is recommended to use context/menu:navigation/view_link or just '+view-name'? I could not find any hints in the review checklists. I tried to write it down here: https://dev.launchpad.net/Web/NavigationMenus If I added the wrong information please let me know and I will change the page. Many thanks! -- Adi Roiban _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

