Skip to content

Commit

Permalink
Rename install -> import
Browse files Browse the repository at this point in the history
  • Loading branch information
damianhxy committed Jun 24, 2023
1 parent 2863354 commit d66a3de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/assessments/install_assessment.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ Choose one of the following methods to install an assessment
<% else %>
<div class="collection">
<% @unused_config_files.each do |ass_file| %>
<%= link_to ass_file, {action: :importAssessment, assessment_name: ass_file}, method: :post, class: "collection-item install" %>
<%= link_to ass_file, {action: :importAssessment, assessment_name: ass_file}, method: :post, class: "collection-item import" %>
<% end %>
</div>
<a class="btn" onclick="$('.install').each((i, e) => $.post(e.href)); location.reload();">Install all</a>
<a class="btn" onclick="$('.import').each((i, e) => $.post(e.href)); location.reload();">Import all</a>
<% end %>
</ul>
</div>
Expand Down

0 comments on commit d66a3de

Please sign in to comment.