mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 21:21:50 +08:00
Merge pull request #209 from ZmagoD/zd_SCI_534_remove_popup
Removed introductory popup [fixes SCI-534]
This commit is contained in:
commit
f25767fdc3
9 changed files with 0 additions and 53 deletions
|
@ -1,10 +0,0 @@
|
|||
(function(){
|
||||
// display introductory modal
|
||||
if( Cookies.get('popup-release-shown') !== 'yes'){
|
||||
$("#introductory-popup-modal").modal('show',{
|
||||
backdrop: true,
|
||||
keyboard: false,
|
||||
});
|
||||
Cookies.set('popup-release-shown', 'yes', { expires: 7300 });
|
||||
}
|
||||
})();
|
|
@ -132,10 +132,6 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
|
||||
<%= render partial: 'projects/index/introductory_popup' %>
|
||||
<%= javascript_include_tag 'projects/introdutory_popup' %>
|
||||
|
||||
<% if @projects_by_orgs.length > 0 %>
|
||||
<% @projects_by_orgs.each do |org, projects| %>
|
||||
<%= render partial: "projects/index/org_projects", locals: {org: org, projects: projects} %>
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
<!-- introductory popup modal -->
|
||||
<div class="modal" id="introductory-popup-modal" tabindex="-1" role="dialog" aria-labelledby="introductory-modal-label">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="introductory-modal-label"><%=t 'introductory.popup-title' %></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p><%= t('introductory.sentence_one_html') %></p>
|
||||
<%= image_tag 'introductory_popup/image1a.png', class: 'img-responsive center-block' %>
|
||||
<p><%=t 'introductory.sentence_two_html' %></p>
|
||||
<p><%=t 'introductory.sentence_three_html' %></p>
|
||||
<p><%=t 'introductory.sentence_four_html' %></p>
|
||||
<%= image_tag 'introductory_popup/image2a.png', class: 'img-responsive center-block' %>
|
||||
<p><%=t 'introductory.sentence_five_html' %></p>
|
||||
<p><%=t 'introductory.sentence_six_html' %></p>
|
||||
<%= image_tag 'introductory_popup/image3a.png', class: 'img-responsive center-block' %>
|
||||
<p><%=t 'introductory.sentence_seven_html' %></p>
|
||||
<%= image_tag 'introductory_popup/image4a.png', class: 'img-responsive center-block' %>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t 'introductory.confim' %></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -58,7 +58,6 @@ Rails.application.config.assets.precompile += %w(jszip.min.js)
|
|||
Rails.application.config.assets.precompile += %w(assets.js)
|
||||
Rails.application.config.assets.precompile += %w(comments.js)
|
||||
Rails.application.config.assets.precompile += %w(projects/show.js)
|
||||
Rails.application.config.assets.precompile += %w(projects/introdutory_popup.js)
|
||||
Rails.application.config.assets.precompile += %w(notifications.js)
|
||||
|
||||
# Libraries needed for Handsontable formulas
|
||||
|
|
|
@ -1498,17 +1498,6 @@ en:
|
|||
archive_project_html: "Archive Demo project - qPCR by clicking on the down arrow <span class='glyphicon glyphicon-triangle-bottom'></span>. You can always access the Archive by clicking the <span class='glyphicon glyphicon-briefcase'></span> icon on the top right side of the Dashboard and restore any item you have archived."
|
||||
goodbye_message: "To repeat the tutorial, go to your Settings and open <strong>My preferences</strong> tab. Click on the <strong>Repeat tutorial</strong> button and watch the tutorial as many times needed."
|
||||
|
||||
introductory:
|
||||
popup-title: "Release notes - sciNote version 1.3"
|
||||
sentence_one_html: "For this sciNote version we focused on <strong>improving Tables in Protocol steps and Results</strong>. Tables now support basic math operations (addition, subtraction, multiplication, division) just like Excel spreadsheets do. "
|
||||
sentence_two_html: "You can also use the functions listed below: <br> <ul><li><strong>SUM</strong> that adds together a supplied set of numbers and returns the sum of these values;</li><li><strong>AVERAGE</strong> that returns the arithmetic mean of a list of supplied numbers;</li><li><strong>MEDIAN</strong> that returns the statistical median (the middle value) of a list of supplied numbers;</li><li><strong>MAX</strong> that returns the largest value from a supplied set of numeric values;</li><li><strong>MIN</strong> that returns the smallest value from a supplied set of numeric values;</li><li><strong>SLOPE</strong> that calculates the slope of the linear regression line through a supplied set of x- and y- values;</li><li><strong>IF</strong> that tests a supplied condition and returns one result if the condition evaluates to TRUE, and another result if the condition evaluates to FALSE;</li><li><strong>SQRT</strong> that calculates the positive square root of a supplied number;</li><li><strong>POWER</strong> that calculates a given number, raised to a supplied power;</li><li><strong>LOG</strong> that calculates the logarithm of a given number, to a supplied base;</li><li><strong>LN</strong> that calculates the natural logarithm of a given number;</li><li><strong>LOG10</strong> that calculates the base 10 logarithm of a given number.</li></ul> Some other improvements have been made in sciNote as well. Let’s take a look at them."
|
||||
sentence_three_html: "<strong>Extended length of text field</strong> <br>You can now write names of Experiments and Protocol steps with limitation of 255 characters and descriptions with 10,000 characters."
|
||||
sentence_four_html: "<strong>Redesigned Navigation pane</strong> <br>We have added the connecting line of Experiments in the Navigation pane, where you can expand or collapse the Experiments and get a better overview."
|
||||
sentence_five_html: "<strong>Reorder of Comments and Messages</strong> <br>The Comments section in Protocols steps and Results has been moved bellow the description (it’s not in a separate tab any more). Also the order of Messages in the Project and Task cards has been changed. The most recent Messages are now seen at the end of the correspondence."
|
||||
sentence_six_html: "<strong>Deleting Results</strong> <br>You can now delete Results. First you archive them, then you go to the Archive and delete them. This way you have a \"safety net\" against deleting Results by accident."
|
||||
sentence_seven_html: "<strong>Info tab</strong> <br>In the upper right corner of the Dashboard you can now access the Info button, where you can find links to support on how to use sciNote features (e.g., Tutorials, FAQ) or how to change your current sciNote Plan (e.g., Professional support and customization, Plans). In case you have some other questions or suggestions, click on the Contact us link."
|
||||
confim: "OK, got it"
|
||||
|
||||
notifications:
|
||||
title: "Notifications"
|
||||
form:
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 18 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 6.9 KiB |
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
Loading…
Reference in a new issue