15 lines
781 B
Plaintext
15 lines
781 B
Plaintext
- if error
|
|
= button_tag type: 'button', class:'btn btn-primary pull-right export-button export-retry-button', data: {exercise_id: exercise.id} do
|
|
i.fa.fa-refresh.confirm-icon
|
|
= t('exercises.export_codeharbor.buttons.retry')
|
|
- else
|
|
- unless exported
|
|
- if !task_found || update_right
|
|
= button_tag type: 'button', class:'btn btn-primary pull-right export-action export-button', data: {exercise_id: exercise.id} do
|
|
i.fa.fa-check.confirm-icon
|
|
= t('exercises.export_codeharbor.buttons.export')
|
|
|
|
= button_tag type: 'submit', class:'btn btn-secondary pull-right export-button', data: {dismiss: 'modal'} do
|
|
i.fa.fa-remove.abort-icon
|
|
= exported ? t('exercises.export_codeharbor.buttons.close') : t('exercises.export_codeharbor.buttons.abort')
|