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

adding lti settings route #6903

Merged
merged 2 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions app/views/assignments/_create_lti_line_items.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
<% @lti_deployments.each do |deployment| %>
<tr>
<td>
<%= f.label deployment.id, I18n.t("lti.lti_deployment", {
<%= f.label deployment.id, I18n.t("lti.lti_deployment",
lti_deployment_name: deployment.lms_course_name,
lti_host: URI(deployment.lti_client.host).host,
}) %>
) %>
</td>
<td>
<% if deployment.lti_line_items.where(assessment: @assignment).exists? %>
Expand Down
2 changes: 1 addition & 1 deletion config/locales/common/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ en:
line_item_created: Gradebook item created.
lti_configuration: LTI configuration
lti_course_link_html: Course linked to external course
lti_deployment: "%{lti_deployment_name} on %{lti_host}"
lti_deployment: '%{lti_deployment_name} on %{lti_host}'
lti_settings: LTI Settings
no_courses: No courses available for matching.
no_grades: No grades to sync
Expand Down
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@
get 'grade_distribution'
get 'download_config_files'
get 'download_test_results'
get 'lti_settings'
post 'create_lti_grades'
post 'create_lti_line_items'
end
Expand Down
Loading