Sha256: 83f33ce7f41e64631caf95773817227cc531f824618aba59c629641b094e2636
Contents?: true
Size: 1.24 KB
Versions: 22
Compression:
Stored size: 1.24 KB
Contents
<% title _('Webhook Templates') %> <% title_actions new_link(_('Create Template')) %> <table class="<%= table_css_classes 'table-fixed' %>"> <thead> <tr> <th class="col-md-3"><%= sort :name, as: s_('WebhookTemplate|Name') %></th> <th class="col-md-1"><%= sort :snippet, as: s_('WebhookTemplate|Snippet') %></th> <th class="col-md-1"><%= sort :locked, as: s_('WebhookTemplate|Locked'), default: 'DESC' %></th> <th class="col-md-1"><%= _('Actions') %></th> </tr> </thead> <tbody> <% for webhook_template in @templates %> <tr> <td class="ellipsis"><%= link_to_if_authorized webhook_template, hash_for_edit_webhook_template_path(id: webhook_template.to_param). merge(auth_object: webhook_template, authorizer: authorizer, permission: 'edit_webhook_templates') %> </td> <td align='center'><%= checked_icon webhook_template.snippet %></td> <td align='center'><%= locked_icon webhook_template.locked?, _('This template is locked for editing.') %> </td> <td><%= action_buttons(*permitted_actions(webhook_template)) %></td> </tr> <% end %> </tbody> </table> <%= will_paginate_with_info @templates %>
Version data entries
22 entries across 22 versions & 1 rubygems