Commit 5da3f94a authored by Juan J. Ramirez's avatar Juan J. Ramirez Committed by Kushal Pandya

Fix for concat method error in Runner settings

Changing interpolation to sprintf
parent f610a080
......@@ -3,7 +3,7 @@
= runner_status_icon(runner)
- if @project_runners.include?(runner)
= link_to runner.short_sha.concat("..."), project_runner_path(@project, runner), class: 'commit-sha has-tooltip', title: _("Partial token for reference only")
= link_to _("%{token}...") % { token: runner.short_sha }, project_runner_path(@project, runner), class: 'commit-sha has-tooltip', title: _("Partial token for reference only")
- if runner.locked?
= icon('lock', class: 'has-tooltip', title: _('Locked to current projects'))
......
---
title: Fix an error with concat method
merge_request:
author:
type: fixed
......@@ -484,6 +484,9 @@ msgstr ""
msgid "%{title} changes"
msgstr ""
msgid "%{token}..."
msgstr ""
msgid "%{totalWeight} total weight"
msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment