BigW Consortium Gitlab

Commit 53121601 by Lin Jen-Shin

Add a small locked icon if it's locked:

This is probably not the way we add icons, but well. Not sure if this should be put next to the status icon or edit icon, my first thought was put this next to status, but it looks a bit better next to edit button. Please tweak this accordingly. I don't have strong opinion regarding views. Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4093#note_12345567
parent d936c32e
......@@ -4,6 +4,8 @@
%span.monospace
- if @runners.include?(runner)
= link_to runner.short_sha, runner_path(runner)
- if runner.locked?
%small{title: 'Exclusive to this project'} 🔒
%small
= link_to edit_namespace_project_runner_path(@project.namespace, @project, runner) do
%i.fa.fa-edit.btn
......
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