Changeset 365


Ignore:
Timestamp:
Apr 1, 2016, 12:59:44 AM (3 years ago)
Author:
lars@…
Message:

Add ANRW to menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • www/layouts/menu_.haml

    r319 r365  
    77        %span.icon-bar
    88        %span.icon-bar
    9       %a.navbar-brand{ :href => @loc + "./" }
     9      %a.navbar-brand{ :href => relative_path_to("/") }
    1010        IRTF
    1111        -# %img{ :alt => "IRTF", :src => "img/irtf-horiz.png", :height => 25}
     
    2020          %ul.dropdown-menu
    2121            - $rgs.values.sort.each do |rg|
    22               %li= rg.url(@loc)
     22              %li= rg.url(relative_path_to("/"))
    2323            %li.divider
    2424            %li
    25               %a{ :href => "groups" } All groups
     25              %a{ :href => relative_path_to("/groups") } All groups
    2626
    2727        %li.dropdown
     
    3131          %ul.dropdown-menu
    3232            %li
    33               %a{ :href => @loc + "chair" } IRTF Chair
     33              %a{ :href => relative_path_to("/chair") } IRTF Chair
    3434            %li
    35               %a{ :href => @loc + "irsg" } Steering Group
     35              %a{ :href => relative_path_to("/irsg") } Steering Group
    3636
    3737        %li.dropdown
     
    4141          %ul.dropdown-menu
    4242            %li
    43               %a{ :href => @loc + "anrp" } Applied Networking Research Prize
    44             %li
    45               %a{ :href => @loc + "raim-2015" } RAIM 2015 Workshop
     43              %a{ :href => relative_path_to("/anrp") } Applied Networking Research Prize
     44            %li.dropdown-submenu
     45              %a{ :href => relative_path_to("/anrw/"), :tabindex => "-1" } Applied Networking Research Workshops
     46              %ul.dropdown-menu
     47                - @items.find_all(%r{/anrw/(\d+)/index}).each do |item|
     48                  %li
     49                    %a{ :href => relative_path_to(item) } #{item[:menu]}
     50            %li.dropdown-submenu
     51              %a{ :href => "#", :tabindex => "-1" } Other Workshops
     52              %ul.dropdown-menu
     53                %li
     54                  %a{ :href => relative_path_to("/raim-2015") } RAIM 2015
    4655            %li.divider
    4756            %li
    48               %a{ :href => @loc + "ipr" } Intellectual Property Rights
     57              %a{ :href => relative_path_to("/ipr") } Intellectual Property Rights
    4958              %a{ :href => "https://www.ietf.org/iesg/statement/ietf-anti-harassment-policy.html" } Anti-Harassment Policy
    5059
Note: See TracChangeset for help on using the changeset viewer.