fe 2.0.2 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 134925d7b8d150dfa0a089638825bb71a87fab50fc2167fca14ca4100fb3c5ab
4
- data.tar.gz: a6b5e7b87fad9de3b01f1e3fa0429e761aa1a3b05c6374d158f9d7c2c267ce53
3
+ metadata.gz: 4b12e98399976961d3acf5e7e105d372abd91462a8997c7bcf82ad09a63cf8b9
4
+ data.tar.gz: 3802985995be02cb96f88eea26fe0d3d07eb25a5eb9d9390a7c4c246b1b8f404
5
5
  SHA512:
6
- metadata.gz: c6ab42e4380de8bb7c8f898e9f3a7176e9f0ed2fe2f662957845bc437d069e844a6df189e4fa932114bb46c0b198fa762af1f9923064bb9b3efd4a1239156c9a
7
- data.tar.gz: b914884b7053bc4b4b623a965faddbee7a381ed58f874f6b818c7237ccb2908506192883e43c12a0ffebd641a5f50ec2727475243441000fd3ed3e3722eaf448
6
+ metadata.gz: 91df50c054ef6ee745ea227a74fd6adec0015f06beb3a35760e4b486db51a4cce19006ed6a1fb2c0f8f77780c831f5d2457698bd9fda685dbadaa8cf50f1dc4c
7
+ data.tar.gz: e71bbbba09f9bd94ffa1bef5208c38b40ab056ebee98b7cdd66e96f7ef62fe4a7af685d84b542e221ac29617e1686dc882d6c865c2e000262d6999bd98224799
@@ -1,9 +1,9 @@
1
1
  <h3 id="<%= dom_id(element) %>-h3-show-advanced-options">Advanced Options<br/>
2
- <a style="font-size: 11px; font-weight: normal; " href="#" onclick="$("#<%= dom_id(element) %>-pnl-advanced").show();$("#<%= dom_id(element) %>-h3-show-advanced-options").hide();return false;">Show Advanced Options</a></h3>
2
+ <a style="font-size: 11px; font-weight: normal; " href="#" onclick="$('#<%= dom_id(element) %>-pnl-advanced').show();$('#<%= dom_id(element) %>-h3-show-advanced-options').hide();return false;">Show Advanced Options</a></h3>
3
3
 
4
4
  <div id="<%= dom_id(element) %>-pnl-advanced" style="display: none;">
5
5
  <h3>Advanced Options<br/>
6
- <a style="font-size: 11px; font-weight: normal; " href="#" onclick="$("#<%= dom_id(element) %>-pnl-advanced").hide();$("#<%= dom_id(element) %>-h3-show-advanced-options").show();return false;">Hide Advanced Options</a></h3>
6
+ <a style="font-size: 11px; font-weight: normal; " href="#" onclick="$('#<%= dom_id(element) %>-pnl-advanced').hide();$('#<%= dom_id(element) %>-h3-show-advanced-options').show();return false;">Hide Advanced Options</a></h3>
7
7
 
8
8
  <div class="future_affect">
9
9
  <%= label_tag "Future questions/pages will be shown based on the answer to this question: " %>
@@ -13,14 +13,14 @@
13
13
  %>
14
14
  <div class="field"><label for="element_style" class="desc">Style</label>
15
15
  <%= select_tag "element[style]", option_groups_from_collection_for_select(options, "group", "label", "key", "value", @element.style),
16
- onchange: "if(["acceptance", "yes-no"].include($F("element[style]"))) $("choices_section").hide(); else $("choices_section").show();" %></div>
16
+ onchange: %|if(["acceptance", "yes-no"].include($F("element[style]"))) $("choices_section").hide(); else $("choices_section").show();| %></div>
17
17
 
18
18
  <%= render "fe/admin/panels/common_fields", f: f %>
19
19
 
20
20
  <% if @element.style == "rating" %>
21
21
  <% %w(before after na).each do |prefix| %>
22
22
  <p>
23
- <% text = prefix == "na" ? "\"Don"t Know\" " : "#{prefix.capitalize} Rating" %>
23
+ <% text = prefix == "na" ? "\"Don't Know\" " : "#{prefix.capitalize} Rating" %>
24
24
  <% label = "(Optional) #{text} Label" %>
25
25
  <label for="element_rating_<%= prefix %>_label" class="desc"><%= label %> (English)</label>
26
26
  <%= f.text_field :"rating_#{prefix}_label", maxlength: Fe::Element.max_label_length %>
@@ -44,7 +44,7 @@
44
44
 
45
45
  <div class="csvChoices" style="display:<% if showXML -%>none<%else-%>block<%end-%>">
46
46
  <p>
47
- <label for="element_content" class="desc"><%= _("Choices (English) - One choice per line. To specify a value, split the label and value with a semi-colon, ie. "Value;Label". The value is what gets displayed on the read-only view. If no value is specified, the value will default to the choice text.") %></label>
47
+ <label for="element_content" class="desc"><%= _("Choices (English) - One choice per line. To specify a value, split the label and value with a semi-colon, ie. \"Value;Label\". The value is what gets displayed on the read-only view. If no value is specified, the value will default to the choice text.") %></label>
48
48
  <%= f.text_area :content, rows: 6, cols: 80 %>
49
49
  </p>
50
50
  <% @page.question_sheet.languages.select(&:present?).each do |language| %>
@@ -1,7 +1,7 @@
1
1
  <div class="field">
2
2
  <label for="element_style" class="desc">Related Question Sheet
3
- <%= image_tag("fe/icons/question-balloon.png", title: "This list includes any template with "Reference" in the name.") %></label>
4
- <%= f.select :related_question_sheet_id, (Fe::QuestionSheet.active.where("label like "REFERENCE%"").order(:label).all - [@page.question_sheet]).collect {|qs| [qs.label, qs.id]} %>
3
+ <%= image_tag("fe/icons/question-balloon.png", title: "This list includes any template with \"Reference\" in the name.") %></label>
4
+ <%= f.select :related_question_sheet_id, (Fe::QuestionSheet.active.where("label like 'REFERENCE%'").order(:label).all - [@page.question_sheet]).collect {|qs| [qs.label, qs.id]} %>
5
5
  </div>
6
6
 
7
7
  <div class="field">
@@ -8,6 +8,6 @@
8
8
  <%= render partial: "fe/admin/question_pages/element", collection: @page.elements, locals: {in_grid: false} %>
9
9
  </ul>
10
10
  <% else %>
11
- <div style="background: #ffc;"><p>You don"t have any questions on this page yet.</p></div>
11
+ <div style="background: #ffc;"><p>You don't have any questions on this page yet.</p></div>
12
12
  <% end %>
13
13
  </div>
@@ -20,7 +20,7 @@
20
20
  <% else -%>
21
21
 
22
22
  <div style="background: #ffc;">
23
- <p>That"s odd. There are no answers to review.</p>
23
+ <p>That's odd. There are no answers to review.</p>
24
24
  </div>
25
25
 
26
26
  <% end -%>
@@ -6,4 +6,4 @@
6
6
  prefix: "answers[#{date_field_mmyy.id}]",
7
7
  class: "select " + date_field_mmyy.validation_class(@answer_sheet, @page)) %>
8
8
 
9
- <% # not validated because class doesn"t pass, see ticket #6000 -%>
9
+ <% # not validated because class doesn't pass, see ticket #6000 -%>
@@ -24,7 +24,7 @@
24
24
  id: "months_known[#{index}]" %>
25
25
  </li>
26
26
  <li><p><%= _("An invitation will be sent to this reference when you submit your application. If you would " \
27
- "like to get a headstart, please feel free to click "Send Email Invitation" below.") %></p></li>
27
+ "like to get a headstart, please feel free to click \"Send Email Invitation\" below.") %></p></li>
28
28
 
29
29
  <li><%= submit_tag(_("Send Email Invitation")) %>
30
30
  <%= _("Invitation last sent:") %> <span id="ref_last_sent_<%= reference.id %>"><% unless reference.email_sent_at.nil? -%><%= reference.email_sent_at.strftime("%Y-%m-%d @ %I:%M%p") %><% end -%></span></li>
@@ -1,4 +1,4 @@
1
- <%= _("We weren"t able to find a reference associated with this link. The are two common reason for this issue:") %>
1
+ <%= _("We weren't able to find a reference associated with this link. There are two common reasons for this issue:") %>
2
2
  <ol>
3
3
  <li><%= _("The applicant has picked someone else to do their reference.") %></li>
4
4
  <li><%= _("The link in your email was wrapped onto two lines. Check to make sure what you see in the address bar of your browser is the full link you see in your email.") %></li>
@@ -1,4 +1,4 @@
1
- <%= _("We"re sorry, but the reference form you are trying to access is no longer available.") %><br/>
1
+ <%= _("We're sorry, but the reference form you are trying to access is no longer available.") %><br/>
2
2
  <br/>
3
3
  <%= _("If the applicant (the person you are attempting to fill out a reference for) has changed or updated any information about the reference, " \
4
4
  "that would invalidate this form. If you know that you are supposed to fill out a reference for this person, please check the link " \
@@ -14,7 +14,7 @@
14
14
  <% if @application.frozen? -%>
15
15
  <p><%= _("You have already submitted this application.") %></p>
16
16
  <% else -%>
17
- <p><%= _("If you are sure you are finished with the application, click "Submit Application". " \
17
+ <p><%= _("If you are sure you are finished with the application, click \"Submit Application\". " \
18
18
  "After you submit your application, you will not be able to edit your answers in your " \
19
19
  "application, but you will be able to change your your personal information, your " \
20
20
  "school information, and your reference information as necessary.") %></p>
data/lib/fe/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fe
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fe
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - CruGlobal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-18 00:00:00.000000000 Z
11
+ date: 2023-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails