Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jc/291/tech volunteers #2740

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
389 changes: 199 additions & 190 deletions app/controllers/userid_details_controller.rb

Large diffs are not rendered by default.

498 changes: 249 additions & 249 deletions app/models/userid_detail.rb

Large diffs are not rendered by default.

44 changes: 23 additions & 21 deletions app/views/devise/mailer/reset_password_instructions.html.erb
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
<p>Hello <%= @resource.username %>!</p>
<p>You are receiving this email for one of three reasons: </p>
<p>Hello
<%= @resource.username %>,</p>

<p>1. <strong>You are a new transcriber!</strong></p>
<p><strong>Are you a new transcriber?</strong><br>
Welcome. You will receive an email from your coordinator within the next 1-3 working days.
Meanwhile, you can set up a password by using the link below.</p>

<p>You therefore need to set your own password. Welcome! <br>
You set your password by clicking the link below:</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>
<p>You will also be shortly (within 1-3 days - note you may not get a reply over the weekend) receiving an email with full details of how to transcribe for the project from the Coordinator who looks after your chosen County.<br>
<% unless @coordinator.nil? %>
In case of any difficulty, please email your coordinator - <%= @coordinator.person_forename %> <%= @coordinator.person_surname %> at <%= @coordinator.email_address%>
<%end%>
</p>
<p>2. <strong>You are an existing volunteer</strong>, and have just been set up on our online system.<br>
You therefore now need to set your own password. You set your password by clicking the link below:
</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>
<p>3. <strong>You an existing volunteer, and just need to change your existing password.</strong><br>You change your password by clicking the link below:
</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>
<p>Your password won't be created, or changed (if you already have one) until you follow the <%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %> link and create a new one.</p>
<p><strong>Are you a new volunteer?</strong><br>
Welcome. You should be in touch with your point of contact on next steps. Meanwhile, you can
set up a password by using the link below.</p>

<p> We hope you will enjoy or already are enjoying working with <%= MyopicVicar::Application.config.freexxx_display_name %>.<br> It is only through your work that researchers can find their ancestors on <%= MyopicVicar::Application.config.freexxx_display_name %>.</p>
<p><strong>Are you an existing member who has just been set up on the system?</strong><br>
You need to set up a password. Please use the link below.</p>

<p> The <%= MyopicVicar::Application.config.freexxx_display_name %> Team.</p>
<p><strong>Are you an existing member and need to reset your password?</strong><br>
Please use the link below.</p>

<p><%= link_to "Change my password", edit_password_url(@resource, reset_password_token: @token) %></p>

<p>
We hope you enjoy working with
<%= MyopicVicar::Application.config.freexxx_display_name %>. It is through your work
that researchers can find their ancestors here.</p>

<p>
The
<%= MyopicVicar::Application.config.freexxx_display_name %>
Team.</p>
78 changes: 78 additions & 0 deletions app/views/refinery/Opportunities to Volunteer with FreeREG.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<style scoped="scoped">
/* temporary fix */
.image-link:focus,
.image-link:hover {
display: inline-block;
/* Safari fix */
text-decoration: none;
background: none;
outline: 2px dashed #007FAD;
/* $turquoise */
}
</style>

<div class="grid">
<div class="grid__item three-fifths lap-one-half palm-one-whole">
<p>The aim of FreeREG is to provide a free-to-use, online, searchable database of parish and nonconformist
registers of baptisms, marriages and burials for the whole country. Without the invaluable support of our
volunteers, this project would not exist.</p>

<h2 class="gamma">Transcribers</h2>
<p>We will send you images to transcribe, links to specialist software needed (or you can use a pre-formatted
spreadsheet) and guidance on how to transcribe. We will provide feedback on your first attempts so that you
can see if any changes are needed in order to meet our high quality standards. You can join a friendly
support group where other volunteers can help you learn, and in turn you will be able to advise others.</p>

<div class="landmark text--center">
<p><strong>To register as a transcriber, please use the button below:</strong> </p>
<form action="/userid_details/transcriber_registration">
<input type="submit" value="Transcriber Registration" class="btn" />
</form>
</div>

<h2 class="gamma">Web Developers and Designers</h2>
<p>We are looking for web developers and designers, and people with experience in: accessibility, UX/UI,
front-end development and/or back-end development.</p>
<p>FreeREG uses MongoDB, Ruby on Rails, PHP and RefineryCMS. If you have experience with any of these, or would
like to learn, please volunteer.</p>

<div class="landmark text--center">
<p><strong>To register as a technical volunteer, please use the button below:</strong> </p>
<form action="/userid_details/technical_registration">
<input type="submit" value="Technical Volunteer Registration" class="btn" />
</form>
</div>

<p>
For other volunteering opportunities, please visit the <a
href="http://www.freeukgenealogy.org.uk/about/volunteer/" target="_blank">FreeUK Genealogy volunteer
page</a> (opens in new window). This page also has details
of opportunities with our sister projects, FreeBMD and FreeCEN.
</p>

</div>

<aside class="grid__item two-fifths lap-one-half palm-one-whole float--right text--center">
<div class="islet islet--bordered">
<p class="push-half--bottom">No time to volunteer? Please consider a donation:</p>
<a class="image-link" href="http://www.freeukgenealogy.org.uk/help-us-keep-history-free" target="_blank">
<img src="/system/images/W1siZiIsIjIwMjAvMDcvMTMvOWNqbXpvY2hiNV9kb25hdGUucG5nIl1d/donate.png?sha=675000132025c920"
alt="Donate to Free UK Genealogy" data-rel="225x255" width="185" height="162" />
<div class="text-center push-half--bottom">(opens in new tab)</div>
</a>
<p>While most other genealogy sites charge you to find and read records, FreeREG is dedicated to keeping our
searches free. A small donation towards our costs would really help us keep it that way.</p>

</div>

<div class="islet" style="border: 2px solid #007FAD;">
<a class="image-link" target="_blank"
href="https://www.easyfundraising.org.uk/causes/freeukgenealogy/">(opens in new tab)
<img style="width:100%;height:auto;"
src="/system/images/W1siZiIsIjIwMjIvMDcvMTEvMnI3bHJmMXNmM19lYXN5X2Z1bmRyYWlzaW5nXzAyLnBuZyJdXQ/easy-fundraising%20-02.png?sha=b37181297b165241"
alt="Easy Fundraising by shopping online" data-rel="225x255" width="1200" height="628" />
</a>
</div>

</aside>
</div>
65 changes: 65 additions & 0 deletions app/views/userid_details/technical_registration-orign.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<p>
<b>
After successfully submitting this form you will receive an email that contains a link to complete the registration process. Click on that link (or copy and paste it into you browser address window)
WITHIN 24HRS.
</b></p>
<%= semantic_form_for @userid do |f| %>
<div id="main"style="color:black">
<table class="table--bordered table--striped table--data">
<tr>
<th style="width:70%">Field</th>
<th style="width:30">Value</th>
</tr>
<tr>
<td>
Please provide us with a unique identification name. This will be used by the system to identify you at all times. The name must only contain alphabetic characters and numbers; it must NOT contain any special characters or spaces. It can be of any length. Avoid using your forename as it likely to have already been taken. <b>Mandatory</b>
</td>
<td>
<%= f.input :userid,:input_html => { :size => 35 }%> </td>
</tr>
<tr>
<td>
Your forename or given name
</td>
<td>
<%= f.input :person_forename,:input_html => { :size => 35 }%></td>
</tr>
<tr>
<td>Your surname</td>
<td>
<%= f.input :person_surname,:input_html => { :size => 35 }%></td>
</tr>
<tr>
<td>Your email address. Must be unique for your identification. <b>Mandatory</b></td>
<td>
<%= f.input :email_address,:input_html => { :size => 35 } %></td>
</tr>
<tr>
<td>
Please provide us with your physical location, i.e. Country.
</td>
<td>
<%= f.input :address,:input_html => { :size => 35 }%></td>
</tr>
<tr>
<td>
Please provide us with a telephone number in case we need to contact you.
</td>
<td>
<%= f.input :telephone_number,:input_html => { :size => 35 }%></td>
</tr>
<tr>
<td>
Please read the technical <%= link_to 'participation agreement', places_path%> and confirm that you accept these terms.PLEASE NOTE THE AGREEMENT IS NOT THERE YET
</td>
<td>
<%= f.input :transcription_agreement, {:as => :select, :collection => [false,true], :required => true,:size => 35}%></td>
</tr>
</table>
<p>
Please provide us with a short description of your skills and interests that would be applicable to <%= appname %>.</p>
<%= f.input :skill_notes,:input_html => { :size => 100 }%><br>
<p><b>After submitting this form you will be redirected to the home page and will receive an email that contains a link to complete the registration process. Click on that link (or copy and paste it into you browser address window) WITHIN 24HRS. Once your registration has been received a member of the management team will contact you to see how best to link you into the project. Until that time your abilities after log in will be restricted. </b></p>
<%= f.action :submit, :as => :input, :label => 'Technical Registration' %>
<% end %>
</div>
Loading