Skip to content
Snippets Groups Projects
Commit 53121601 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment