2014-11-04 17:42:47 +01:00
|
|
|
- unless CONFIG['authentication']['ichain']['enabled']
|
|
|
|
|
%li
|
|
|
|
|
= link_to(edit_user_registration_path) do
|
|
|
|
|
%span.fa.fa-wrench
|
|
|
|
|
Edit Account
|
2013-06-27 23:05:07 +02:00
|
|
|
%li
|
2014-11-04 17:42:47 +01:00
|
|
|
= link_to(edit_user_path(current_user.id)) do
|
|
|
|
|
%span.fa.fa-user
|
|
|
|
|
Edit Profil
|
2013-06-27 23:05:07 +02:00
|
|
|
-if @conference and @conference.id
|
|
|
|
|
%li
|
|
|
|
|
= link_to(conference_proposal_index_path(@conference.short_title)) do
|
2014-08-15 18:30:21 -07:00
|
|
|
%span.fa.fa-comment
|
2013-06-27 23:05:07 +02:00
|
|
|
My Submissions
|
|
|
|
|
%li
|
2014-11-04 17:42:47 +01:00
|
|
|
- if CONFIG['authentication']['ichain']['enabled']
|
|
|
|
|
= link_to(destroy_user_ichain_session_path, :method=>'delete') do
|
|
|
|
|
%span.fa.fa-minus
|
|
|
|
|
Sign out
|
|
|
|
|
- else
|
|
|
|
|
= link_to(destroy_user_session_path, :method=>'delete') do
|
|
|
|
|
%span.fa.fa-minus
|
|
|
|
|
Sign out
|
2014-08-12 11:51:59 +03:00
|
|
|
- if can? :index, Conference
|
2013-06-27 23:05:07 +02:00
|
|
|
%li.divider
|
|
|
|
|
%li
|
2014-05-23 14:30:59 +02:00
|
|
|
= link_to(admin_conference_index_path()) do
|
2014-08-18 09:32:14 +02:00
|
|
|
- if Conference.any?
|
2014-08-15 18:30:21 -07:00
|
|
|
%span.fa.fa-home
|
2014-08-18 09:32:14 +02:00
|
|
|
Administration
|
|
|
|
|
- else
|
2014-08-15 18:30:21 -07:00
|
|
|
%span.fa.fa-plus
|
2014-08-18 09:32:14 +02:00
|
|
|
Create Conference
|
2014-08-12 11:51:59 +03:00
|
|
|
-if @conference and @conference.id and can? :show, @conference
|
2014-05-23 14:30:59 +02:00
|
|
|
%li
|
|
|
|
|
= link_to(admin_conference_path(@conference.short_title)) do
|
2014-08-15 18:30:21 -07:00
|
|
|
%span.fa.fa-cog
|
2014-05-23 14:30:59 +02:00
|
|
|
Manage
|
|
|
|
|
= @conference.short_title
|