signed in button

This commit is contained in:
2019-05-30 15:23:38 +02:00
parent 38e26de48c
commit 4580860a09
2 changed files with 17 additions and 1 deletions

View File

@@ -27,6 +27,22 @@
</li><% end %>
</ul>
<ul class="nav nav-pills nav-stacked pull-right">
<li>
<% if not user_signed_in? %>
<% if Rails.env.development? %>
<%# link_to I18n.t('home.login'), user_developer_omniauth_authorize_path %>
<%= render 'layouts/login' %>
<% else %>
<%= link_to ffi1_icon("academic") + I18n.t('home.login'), user_ldap_omniauth_authorize_path(:ldap) %>
<% end %>
<% else %>
<%= render 'layouts/login' %>
<% end %>
</li>
<li>
<!--<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" > <%= image_tag("/flaggen/png/"+I18n.locale.to_s+".png") + " " +I18n.t('sprache',:scope=>'home')%><b class="caret"></b></a>-->
<!-- Split button -->

2
puma
View File

@@ -1,3 +1,3 @@
#!/bin/bash
source /home/fetsite/.rvm/environments/ruby-2.5.3
source /home/fetsite/.rvm/environments/ruby-2.5.3@bs3
bundle exec puma "$@"