debian-mirror-gitlab/app/views/projects/triggers/_trigger.html.haml

15 lines
416 B
Text
Raw Normal View History

2015-09-25 12:07:36 +05:30
%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
2015-10-24 18:46:33 +05:30
= 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"