gitlab-org--gitlab-foss/app/views/projects/triggers/_trigger.html.haml

13 lines
382 B
Text
Raw Normal View History

2015-08-25 21:42:46 -04:00
%tr
%td
2016-04-27 09:04:59 -04:00
%span.monospace= trigger.token
2015-08-25 21:42:46 -04:00
%td
- if trigger.last_trigger_request
#{time_ago_in_words(trigger.last_trigger_request.created_at)} ago
- else
Never
2016-04-27 09:04:59 -04:00
%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"