2015-09-25 12:07:36 +05:30
|
|
|
%tr
|
|
|
|
%td
|
2016-06-02 11:05:42 +05:30
|
|
|
%span.monospace= trigger.token
|
2015-09-25 12:07:36 +05:30
|
|
|
|
|
|
|
%td
|
|
|
|
- if trigger.last_trigger_request
|
|
|
|
#{time_ago_in_words(trigger.last_trigger_request.created_at)} ago
|
|
|
|
- else
|
|
|
|
Never
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
%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"
|