Commit graph

11 commits

Author SHA1 Message Date
Tomasz Maczukin
42af229510
Simplify runner registration token resetting
This icommit adds several changes related to the same topic
- resetting a Runner registration token:

1. On Project settings page it adds a button for resetting the
   registration token and it removes the Runner token field
   that was confusing all GitLab users.

2. On Group settings page it adds the same button for resetting
   the registration token.

3. On Admin Runners settings page it moves the button to the same
   place as in Project and Group settings and it changes slightly
   the page layout to make it more similar to Group and Project
   setting pages.

4. It refactorizes a little the partial that prints runner
   registration description. Thanks to this Project, Group
   and Admin settings of the Runner are re-using the same
   code to generate the button.

5. Updates the translations of changed text.
2018-10-04 08:37:01 +02:00
Marcel Amirault
81f6013091 Fix grammar in runner-related specs, views and localisations. 2018-09-19 13:04:09 +00:00
Bob Van Landuyt
08c0a1b852 Reject ruby interpolation in externalized strings
When using ruby interpolation in externalized strings, they can't be
detected. Which means they will never be presented to be translated.

To mix variables into translations we need to use `sprintf`
instead.

Instead of:

    _("Hello #{subject}")

Use:

    _("Hello %{subject}) % { subject: 'world' }
2018-08-25 18:43:21 +02:00
George Tsiolis
f9126a5048 Update specific runners help URL 2018-07-17 16:17:56 +00:00
Ave
fa39876ecb Fix a typo on CI Runner page on Projects 2018-07-10 14:47:32 +00:00
Oswaldo Ferreira
f2709915d7 Add a button to deploy a runner to a Kubernetes cluster in the settings page 2018-02-23 13:26:51 -03:00
Grzegorz Bizon
915b554773 Add specific views / selectors for QA runners page 2018-01-23 13:09:12 +01:00
Shinya Maeda
2b8c46fe1d Add #registration_token for %code 2017-07-20 17:42:45 +09:00
Shinya Maeda
acaf13d6f3 Add an id for the tag(#registration_token). Wrap long lines. 2017-07-20 15:14:22 +09:00
Shinya Maeda
03c72d71bb i18n ready 2017-07-20 15:04:52 +09:00
Shinya Maeda
3f66d3bd63 Add coordinator url to admin area runner page
Use partial and shring same UI

Swap two. Like the project runner section.

Fix tests
2017-07-20 15:04:52 +09:00