Gitlab Community Edition Instance

Commit 15711cbb authored by hholder's avatar hholder
Browse files

link directly to saml authentication with sign in

parent 248528dd
......@@ -16,7 +16,7 @@
<a type="button" href="<%- serverURL %>/new" class="btn btn-sm btn-primary"><i class="fa fa-plus"></i> <%= __('New guest note') %></a>
<% } %>
<% if (authProviders.facebook || authProviders.twitter || authProviders.github || authProviders.gitlab || authProviders.mattermost || authProviders.dropbox || authProviders.google || authProviders.ldap || authProviders.saml || authProviders.oauth2 || authProviders.email) { %>
<button class="btn btn-sm btn-success ui-signin" data-toggle="modal" data-target=".signin-modal"><%= __('Sign In') %></button>
<a href="<%- serverURL %>/auth/saml"><button class="btn btn-sm btn-success ui-signin" data-toggle="modal" data-target=".signin-modal"><%= __('Sign In') %></button></a>
<% } %>
</div>
<div class="ui-signout" style="float: right; margin-top: 8px;<% if(!signin) { %> display: none;<% } %>">
......@@ -151,7 +151,7 @@
<option value="sr">српски</option>
</select>
<p>
<%- __('Powered by %s', '<a href="https://codimd.org">CodiMD</a>') %> | <a href="<%- serverURL %>/s/release-notes" target="_blank" rel="noopener"><%= __('Releases') %></a> | <a href="https://www.gwdg.de/privacy-notice" target="_blank"><%= __('Privacy') %></a> | <a href="https://www.gwdg.de/de/imprint" target="_blank"><%= __('Imprint') %></a> | <a href="https://gitlab.gwdg.de/pad/gwdg_codimd_server" target="_blank"><%= __('Source Code') %></a>
<%- __('Powered by %s', '<a href="https://codimd.org">CodiMD</a>') %> | <a href="<%- serverURL %>/s/release-notes" target="_blank" rel="noopener"><%= __('Releases') %></a> | <a href="https://www.gwdg.de/privacy-notice" target="_blank"><%= __('Privacy') %></a> | <a href="https://www.gwdg.de/imprint" target="_blank"><%= __('Imprint') %></a> | <a href="https://gitlab.gwdg.de/pad/gwdg_codimd_server" target="_blank"><%= __('Source Code') %></a>
</p>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment