Improve LTI handling for InternalUsers
This commit is contained in:

committed by
Sebastian Serth

parent
3b05a44b9e
commit
b43dfa364e
@ -1,10 +1,8 @@
|
||||
h1 = t('.headline')
|
||||
|
||||
- consumer = current_user.consumer
|
||||
|
||||
p
|
||||
= t(".success_#{consumer ? 'with' : 'without'}_outcome", consumer: consumer)
|
||||
==< t(".finished_#{consumer ? 'with' : 'without'}_consumer", consumer: h(consumer.name), url: @url)
|
||||
= t(".success_#{@lti_parameter ? 'with' : 'without'}_outcome", consumer: current_user.consumer)
|
||||
==< t(".finished_#{@lti_parameter ? 'with' : 'without'}_consumer", consumer: h(current_user.consumer.name), url: @url)
|
||||
=< t(".do_not_use_backbutton")
|
||||
|
||||
h2 = t('shared.statistics')
|
||||
|
Reference in New Issue
Block a user