Skip to content

Commit

Permalink
Fixes #38167 - Take the redesigned job invocation page out of experim…
Browse files Browse the repository at this point in the history
…ental labs
  • Loading branch information
adamruzicka committed Jan 28, 2025
1 parent 2293c94 commit 3f4c181
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions app/helpers/remote_execution_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,11 @@ def job_invocation_task_buttons(task)
:disabled => !task.cancellable?,
:method => :post)
end
if Setting[:lab_features]
buttons << link_to(_('New UI'), new_job_invocation_detail_path(:id => job_invocation.id),
class: 'btn btn-default',
title: _('Switch to the new job invocation detail UI'))
end
return buttons
buttons << link_to(_('New UI'), new_job_invocation_detail_path(:id => job_invocation.id),
class: 'btn btn-default',
title: _('Switch to the new job invocation detail UI'))

buttons
end

def template_invocation_task_buttons(task, invocation)
Expand Down

0 comments on commit 3f4c181

Please sign in to comment.