Skip to content

Commit f9a8408

Browse files
[READY] Updates for sunsetting (#561)
* Update new.html.erb * Update application.html.erb
1 parent 7ba7509 commit f9a8408

File tree

2 files changed

+13
-27
lines changed

2 files changed

+13
-27
lines changed

app/views/layouts/application.html.erb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@
1212
<body>
1313
<%= render "layouts/navbar"%>
1414

15+
<div class="container-fluid warnings_container" id="alert-messages">
16+
<div class="warning__alert alert alert-danger text-center center-block" data-dismiss="alert">
17+
<button type="button" class="close" data-dismiss="alert">x</button>
18+
<strong>
19+
openSNP is sunsetting, we will remove this website and delete all data on April 30, 2025.
20+
You can <a href="https://tzovar.as/sunsetting-opensnp/">read more about the reasons here</a>.
21+
</strong>
22+
</div>
23+
</div>
24+
1525
<%if current_user %>
1626
<div id="help_block" class="container">
1727
<% if current_user.display_help_header? %>

app/views/users/new.html.erb

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,9 @@
99
<%=render "static/disclaimer"%>
1010
</div>
1111
<div class="col-md-4 col-md-offset-1 well signup__form">
12-
<%= form_for @user, :html => {:class => "form"} do |f| %>
13-
<div class="form-group">
14-
<%= f.label :name %>
15-
<%= f.text_field :name , placeholder:"Username", class:"form-control"%>
16-
</div>
17-
<div class="form-group">
18-
<%= f.label :email %>
19-
<%= f.text_field :email, class: "form-control", placeholder: "Email" %>
20-
</div>
21-
<div class="form-group">
22-
<%= f.label :password %>
23-
<%= f.password_field :password, class: "form-control", placeholder: "Password" %>
24-
</div>
25-
<div class="form-group">
26-
<%= f.label :password_confirmation, "Confirmation" %>
27-
<%= f.password_field :password_confirmation, class: "form-control", placeholder: "Confirm your password" %>
28-
</div>
29-
<div class="checkbox">
30-
<label>
31-
<%= check_box_tag(:read, :type => "checkbox") %>
32-
I understand the warning and I am willing to take these risks.
33-
</label>
34-
</div>
35-
<p class="signup__recaptcha"><%= recaptcha_tags %></p>
36-
<%= f.submit :class => "btn btn-default btn-lg"%>
37-
<% end %>
38-
<p class="signup__advise">Already a user? Log in now!</p>
12+
<b>
13+
openSNP will sunset on April 30, 2025. Due to this we already now don't allow new registrations any longer. Existing users can log in as before.
14+
</b>
3915
</div>
4016
</div>
4117
</div>

0 commit comments

Comments
 (0)