codeharbor_links editable through own profile
This commit is contained in:
@@ -241,9 +241,22 @@ en:
|
||||
show:
|
||||
link: Consumer
|
||||
codeharbor_link:
|
||||
generate: Generate
|
||||
info:
|
||||
push_url: |
|
||||
The address on CodeHarbor side your exercise can be exported to. If you don't know what to write here, ask an admin.
|
||||
name: |
|
||||
Can be anything to Identify your account link.
|
||||
token: |
|
||||
Will be used to authenticate your export request. Has to be the same on both sides.
|
||||
client_id:
|
||||
Will be sent with your token. Can be automatically generated.
|
||||
client_secret:
|
||||
Will be sent with your token. Can be automatically generated.
|
||||
profile_label: Codeharbor Link
|
||||
new: Create link to Codeharbor
|
||||
edit: Edit existing link
|
||||
delete: Remove Codeharbor link
|
||||
execution_environments:
|
||||
form:
|
||||
hints:
|
||||
|
@@ -13,7 +13,7 @@ Rails.application.routes.draw do
|
||||
get 'by_file_type/:file_type_id', as: :by_file_type, action: :by_file_type
|
||||
end
|
||||
end
|
||||
resources :codeharbor_links
|
||||
resources :codeharbor_links, only: %i[new create edit update destroy]
|
||||
resources :request_for_comments do
|
||||
member do
|
||||
get :mark_as_solved, defaults: { format: :json }
|
||||
|
Reference in New Issue
Block a user