| <%= l :field_active %> | <%= l :label_url %> | <%= l :label_webhook_events %> | <%= l :label_project_plural %> | |
|---|---|---|---|---|
| <%= webhook.active ? l(:general_text_Yes) : l(:general_text_No) %> | <%= truncate webhook.url, length: 40 %> | <%= safe_join webhook.events.map{|e| content_tag :code, e }, ', ' %> | <%= safe_join webhook.projects.visible.map{|p| link_to_project(p) }, ', ' %> | <%= link_to sprite_icon('edit', l(:button_edit)), edit_webhook_path(webhook), class: 'icon icon-edit' %> <%= link_to sprite_icon('del', l(:button_delete)), webhook_path(webhook), :data => {:confirm => l(:text_are_you_sure)}, :method => :delete, :class => 'icon icon-del' %> | 
<%= l(:label_no_data) %>
<% end %>