Skip to content

Commit

Permalink
Add content for javascripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed May 28, 2024
1 parent bed1fe6 commit 29be82b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/views/evaluations/_exercises_progress_table.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<%= javascript_include_tag 'dolos' %>
<%= content_for :javascripts do %>
<%= javascript_include_tag 'dolos' %>
<% end %>
<div class="table-scroll-wrapper">
<d-loading-bar id="dolos-loader"></d-loading-bar>
<table class="table activity-table table-resource">
Expand Down
4 changes: 3 additions & 1 deletion app/views/submissions/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<%= render 'activities/navbar_links' if @activity %>
<%= render 'courses/navbar_links' if @course && !@activity %>
<%= javascript_include_tag 'dolos' %>
<%= content_for :javascripts do %>
<%= javascript_include_tag 'dolos' %>
<% end %>
<div class="row">
<div class="col-12">
<div class="card">
Expand Down

0 comments on commit 29be82b

Please sign in to comment.