gitlab-org--gitlab-foss/app/views/projects/triggers/_trigger.html.haml
Dmitriy Zaporozhets 2a0d4e7200
Move CI triggers page to project settings area
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-29 10:37:31 +02:00

14 lines
416 B
Text

%tr
%td
.clearfix
%span.monospace= trigger.token
%td
- if trigger.last_trigger_request
#{time_ago_in_words(trigger.last_trigger_request.created_at)} ago
- else
Never
%td
.pull-right
= link_to 'Revoke', namespace_project_trigger_path(@project.namespace, @project, trigger), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-danger btn-sm btn-grouped"