From acaf13d6f32157716c0d6a9b1d475c042881895c Mon Sep 17 00:00:00 2001 From: Shinya Maeda Date: Thu, 20 Jul 2017 15:14:22 +0900 Subject: Add an id for the tag(#registration_token). Wrap long lines. --- app/views/admin/runners/index.html.haml | 4 +++- app/views/ci/runner/_how_to_setup_runner.html.haml | 2 +- app/views/projects/runners/_specific_runners.html.haml | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) (limited to 'app/views') diff --git a/app/views/admin/runners/index.html.haml b/app/views/admin/runners/index.html.haml index 9aedc1ce768..126550ee10e 100644 --- a/app/views/admin/runners/index.html.haml +++ b/app/views/admin/runners/index.html.haml @@ -35,7 +35,9 @@ method: :put, class: 'btn btn-default', data: { confirm: _("Are you sure you want to reset registration token?") } - = render partial: 'ci/runner/how_to_setup_runner', locals: {registration_token: current_application_settings.runners_registration_token, type: 'shared'} + = render partial: 'ci/runner/how_to_setup_runner', + locals: { registration_token: current_application_settings.runners_registration_token, + type: 'shared' } .append-bottom-20.clearfix .pull-left diff --git a/app/views/ci/runner/_how_to_setup_runner.html.haml b/app/views/ci/runner/_how_to_setup_runner.html.haml index 70a1db84a58..b4faeafdc89 100644 --- a/app/views/ci/runner/_how_to_setup_runner.html.haml +++ b/app/views/ci/runner/_how_to_setup_runner.html.haml @@ -9,7 +9,7 @@ %li = _("Specify the following URL during the Runner setup:") %code= root_url(only_path: false) - %li + %li#registration_token = _("Use the following registration token during setup:") %code= registration_token %li diff --git a/app/views/projects/runners/_specific_runners.html.haml b/app/views/projects/runners/_specific_runners.html.haml index a8ef3c73e4f..28ccbf7eb15 100644 --- a/app/views/projects/runners/_specific_runners.html.haml +++ b/app/views/projects/runners/_specific_runners.html.haml @@ -1,6 +1,8 @@ %h3 Specific Runners -= render partial: 'ci/runner/how_to_setup_runner', locals: {registration_token: @project.runners_token, type: 'specific'} += render partial: 'ci/runner/how_to_setup_runner', + locals: { registration_token: @project.runners_token, + type: 'specific' } - if @project_runners.any? %h4.underlined-title Runners activated for this project -- cgit v1.2.1