gitlab-org--gitlab-foss/app/views/projects/triggers/_trigger.html.haml
Phil Hughes 1cf8723d2f Updated triggers UI
Closes #14090
2016-04-27 14:07:11 +01:00

12 lines
382 B
Text

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