Sha256: e992ebd9ff33566e66be0c9bb2d287ac2c09932f2d1494d66c1781d0001e260e
Contents?: true
Size: 744 Bytes
Versions: 1
Compression:
Stored size: 744 Bytes
Contents
<% if try_harpiya_current_user %> <%= link_to Harpiya.t(:my_account).upcase, harpiya.account_path, class: 'dropdown-item' if harpiya.respond_to?(:account_path) %> <%= link_to Harpiya.t('nav_bar.admin_panel'), harpiya.admin_orders_path(locale: nil), class: 'dropdown-item text-uppercase' if try_harpiya_current_user.has_harpiya_role?(:admin) %> <%= link_to Harpiya.t(:logout).upcase, harpiya_logout_path, class: 'dropdown-item', method: :get if defined?(harpiya_logout_path) %> <% else %> <%= link_to Harpiya.t(:login).upcase, harpiya_login_path, class: 'dropdown-item' if defined?(harpiya_login_path) %> <%= link_to Harpiya.t(:sign_up).upcase, harpiya_signup_path, class: 'dropdown-item' if defined?(harpiya_signup_path) %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
harpiya_frontend-4.3.0.alpha | app/views/harpiya/shared/_link_to_account.html.erb |