digitalhelpersleague/asterism

View on GitHub
app/views/layouts/_menu.html.slim

Summary

Maintainability
Test Coverage
sidebar.affix role="complementary"
  ul.nav
    li
      a class="#{menu_active?("routers")}" href=routers_path Routers
      ul.nav
        li
          a href=routers_path(anchor: '/') List routers
        li
          a href=routers_path(anchor: '/new') New router

    li
      a class="#{menu_active?("sips")}" href=sips_path SIP clients
      ul.nav
        li
          a href=sips_path(anchor: '/') List
        li
          a href=sips_path(anchor: '/new') New client
    li
      a class="#{menu_active?("ivrs")}" href=ivrs_path IVR
      ul.nav
        li
          a href=ivrs_path(anchor: '/') List
        li
          a href=ivrs_path(anchor: '/new') New IVR
    li
      a href=call_queues_path(anchor: '/') Queues
    li
      a.disabled href="/under_construction#transitions" Phonebook
    li
      a.disabled href="/under_construction#modals" Autodialer
    li
      a.disabled href="/under_construction#transitions" Statistics

    li
      a.back-to-top href="#top" Back to top