BigW Consortium Gitlab

_trigger.html.haml 382 Bytes
Newer Older
1 2
%tr
  %td
Phil Hughes committed
3
    %span.monospace= trigger.token
4 5 6 7 8 9 10

  %td
    - if trigger.last_trigger_request
      #{time_ago_in_words(trigger.last_trigger_request.created_at)} ago
    - else
      Never

Phil Hughes committed
11 12
  %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"