2016-03-22 18:14:40 +01:00
|
|
|
- unless ENV['OSEM_ICHAIN_ENABLED'] == 'true'
|
2014-11-04 17:42:47 +01:00
|
|
|
%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
|
2014-11-09 14:30:22 +02:00
|
|
|
Edit Profile
|
2015-10-25 13:29:02 +02:00
|
|
|
-if @conference and @conference.program
|
2013-06-27 23:05:07 +02:00
|
|
|
%li
|
2016-09-14 22:42:04 -04:00
|
|
|
= link_to(conference_program_proposals_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
|
2016-03-22 18:14:40 +01:00
|
|
|
- if ENV['OSEM_ICHAIN_ENABLED'] == 'true'
|
2017-03-11 13:25:39 +05:30
|
|
|
= link_to(destroy_user_ichain_session_path, method: 'delete') do
|
2014-11-04 17:42:47 +01:00
|
|
|
%span.fa.fa-minus
|
|
|
|
|
Sign out
|
|
|
|
|
- else
|
2017-03-11 13:25:39 +05:30
|
|
|
= link_to(destroy_user_session_path, method: 'delete') do
|
2014-11-04 17:42:47 +01:00
|
|
|
%span.fa.fa-minus
|
|
|
|
|
Sign out
|
2015-09-15 12:39:36 +02:00
|
|
|
- if can? :access, Admin
|
2013-06-27 23:05:07 +02:00
|
|
|
%li.divider
|
|
|
|
|
%li
|
2015-09-16 12:23:45 +02:00
|
|
|
- if Conference.any?
|
2016-09-14 22:42:04 -04:00
|
|
|
= link_to(admin_conferences_path()) do
|
2014-08-15 18:30:21 -07:00
|
|
|
%span.fa.fa-home
|
2015-09-16 12:23:45 +02:00
|
|
|
Administration
|
|
|
|
|
- if can? :create, Conference
|
|
|
|
|
=link_to(new_admin_conference_path) do
|
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
|
2016-03-26 23:32:43 +01:00
|
|
|
%span.notranslate
|
|
|
|
|
= @conference.short_title
|
2015-04-15 10:23:24 +02:00
|
|
|
- if can? :manage, User.new
|
2014-10-31 23:00:42 +02:00
|
|
|
%li
|
|
|
|
|
= link_to(admin_users_path) do
|
|
|
|
|
%span.fa.fa-user
|
|
|
|
|
Users
|
2016-05-24 23:54:46 +05:30
|
|
|
- if can? :index, PaperTrail::Version.new(item_type: 'User')
|
|
|
|
|
%li
|
|
|
|
|
= link_to(admin_revision_history_path) do
|
|
|
|
|
%span.fa.fa-history
|
|
|
|
|
Revision History
|
2017-05-31 18:42:52 +05:30
|
|
|
%li
|
|
|
|
|
= link_to(admin_organizations_path) do
|
|
|
|
|
%span.fa.fa-group
|
|
|
|
|
Organizations
|