mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 04:04:03 +00:00
Add My Booth Requests to user menu
This commit is contained in:
parent
834e9d96e4
commit
bc45531efd
3 changed files with 7 additions and 1 deletions
|
|
@ -153,6 +153,7 @@ linters:
|
|||
- "app/views/layouts/_admin_sidebar_index.html.haml"
|
||||
- "app/views/layouts/_messages.html.haml"
|
||||
- "app/views/layouts/_navigation.html.haml"
|
||||
- "app/views/layouts/_user_menu.html.haml"
|
||||
- "app/views/layouts/application.html.haml"
|
||||
- "app/views/organizations/index.html.haml"
|
||||
- "app/views/payments/_payment.html.haml"
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@
|
|||
- if can? :update, @conference.tickets.build
|
||||
%li{class: active_nav_li(admin_conference_tickets_path(@conference.short_title)) }
|
||||
= link_to 'Tickets', admin_conference_tickets_path(@conference.short_title)
|
||||
- if can? :manage, @conference.booths
|
||||
- if can? :manage, @conference.booths.build
|
||||
%li
|
||||
= link_to admin_conference_booths_path(@conference.short_title) do
|
||||
%span.fa.fa-shopping-bag
|
||||
|
|
|
|||
|
|
@ -16,6 +16,11 @@
|
|||
= link_to(conference_program_tracks_path(@conference.short_title)) do
|
||||
%span.fa.fa-road
|
||||
My Tracks
|
||||
-if @conference && @conference.program && (@conference.program.cfps.for_booths.try(:open?) || current_user.booths.where(conference_id: @conference.id).count > 0)
|
||||
%li
|
||||
= link_to (conference_booths_path(@conference.short_title)) do
|
||||
%span.fa.fa-shopping-bag
|
||||
My Booth Requests
|
||||
%li
|
||||
- if ENV['OSEM_ICHAIN_ENABLED'] == 'true'
|
||||
= link_to(destroy_user_ichain_session_path, method: 'delete') do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue