codeplant/simple-navigation

Support for menu category labels that are not links?

Closed this issue · 3 comments

For example, I have an Admin category that contains menu items, but 'Admin' is not a link:

primary.item :admin, 'Admin', nil, if: proc{ current_agent.role? :admin } do |sub_nav|
    sub_nav. ...

This is pretty a common design pattern. I just started using simple-navigation today, so forgive me if this is already supported.

Hi Gavin,

Please can you try the linkless-items branch and report back on whether this is closer to what you need? (See issue #69 for a little more discussion relating to this feature.)

I understand it still needs work before it is merged into master and released, but am looking for some feedback before investing significantly more effort in doing so.

Cheers,

Mark.

Hi Gavin,

As I just mentioned in #69, I've done some more work on the linkless-items branch, and have now merged and released the feature in v3.6.0. I hope this fulfils your requirements. Please let me know if there are any problems with it or if you have any suggestions for improvements.

Cheers,

Mark.

Awesome! Thank you Mark!

(sent from a mobile device)

On Dec 4, 2011, at 7:13 AM, "Mark J. Titorenko"reply@reply.github.com wrote:

Hi Gavin,

As I just mentioned in #69, I've done some more work on the linkless-items branch, and have now merged and released the feature in v3.6.0. I hope this fulfils your requirements. Please let me know if there are any problems with it or if you have any suggestions for improvements.

Cheers,

Mark.


Reply to this email directly or view it on GitHub:
#77 (comment)