[ARVADOS] updated: 7b125f2521051c64cc54f80ab01051865f1c8641
git at public.curoverse.com
git at public.curoverse.com
Wed Apr 2 21:09:35 EDT 2014
Summary of changes:
.../app/views/users/_setup_popup.html.erb | 12 ++++++++----
apps/workbench/config/application.default.yml | 1 +
2 files changed, 9 insertions(+), 4 deletions(-)
via 7b125f2521051c64cc54f80ab01051865f1c8641 (commit)
from 74c691a9aee5de7e1b61bd58adc74c869e0952d5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 7b125f2521051c64cc54f80ab01051865f1c8641
Author: radhika chippada <radhika at radhika.curoverse>
Date: Wed Apr 2 21:08:03 2014 -0400
Get the default openid_prefix from config.
diff --git a/apps/workbench/app/views/users/_setup_popup.html.erb b/apps/workbench/app/views/users/_setup_popup.html.erb
index 9a1f22b..e7e9990 100644
--- a/apps/workbench/app/views/users/_setup_popup.html.erb
+++ b/apps/workbench/app/views/users/_setup_popup.html.erb
@@ -9,14 +9,16 @@
<% selected_repo = @current_selections[:repo_name] %>
<% selected_vm = @current_selections[:vm_uuid] %>
- <%= form_tag setup_user_path, {id: 'setup_form', name: 'setup_form', method: 'get', class: 'form-search', remote: true} do %>
+ <%= form_tag setup_user_path, {id: 'setup_form', name: 'setup_form', method: 'get',
+ class: 'form-search', remote: true} do %>
<input id="user_uuid" maxlength="250" name="user_uuid" type="hidden" value="<%=uuid%>">
<div>
<table><tbody>
<tr>
<% if disable_email %>
<td> Email </td>
- <td> <input id="email" maxlength="250" name="email" type="text" value="<%=email%>" disabled=true > </td>
+ <td> <input id="email" maxlength="250" name="email" type="text" value="<%=email%>"
+ disabled=true > </td>
<% else %>
<td> Email </td>
<td> <input id="email" maxlength="250" name="email" type="text" > </td>
@@ -25,10 +27,12 @@
<tr>
<% if disable_url_prefix %>
<td> Identity URL Prefix   </td>
- <td> <input id="openid_prefix" maxlength="250" name="openid_prefix" type="text" value="<%=identity_url_prefix%>" disabled=true > </td>
+ <td> <input id="openid_prefix" maxlength="250" name="openid_prefix" type="text"
+ value="<%=identity_url_prefix%>" disabled=true > </td>
<% else %>
<td> Openid Prefix </td>
- <td> <input id="openid_prefix" maxlength="250" name="openid_prefix" type="text" value="https://www.google.com/accounts/o8/id"> </td>
+ <td> <input id="openid_prefix" maxlength="250" name="openid_prefix" type="text"
+ value="<%= Rails.configuration.default_openid_prefix %>"> </td>
<% end %>
</tr>
<tr>
diff --git a/apps/workbench/config/application.default.yml b/apps/workbench/config/application.default.yml
index bbed01e..dfc4f03 100644
--- a/apps/workbench/config/application.default.yml
+++ b/apps/workbench/config/application.default.yml
@@ -72,3 +72,4 @@ common:
arvados_theme: default
show_user_agreement_inline: false
secret_token: ~
+ default_openid_prefix: https://www.google.com/accounts/o8/id
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list