diff --git a/app/views/webhook_settings/_show.html.erb b/app/views/webhook_settings/_show.html.erb index d9bf953..143f2a3 100644 --- a/app/views/webhook_settings/_show.html.erb +++ b/app/views/webhook_settings/_show.html.erb @@ -3,7 +3,7 @@ <% Webhook.where(:project_id => @project.id).each do |webhook|%> <%= form_tag(update_webhook_path(@project, webhook.id), :method => :put, :class => "tabular") do %> - URL + <%= l(:field_url) %> <%= text_field_tag :url, webhook.url, :size => 80 %> <%= submit_tag l(:button_update) %> @@ -17,7 +17,7 @@ <%= form_tag(create_webhook_path(@project), :method => :post, :class => "tabular") do %>
- URL + <%= l(:field_url) %> <%= text_field_tag :url, '', :size => 80 %> <%= submit_tag l(:button_add) %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 75cd412..856463c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -7,4 +7,6 @@ en: notice_successful_update_webhook : Webhook updated successfully. notice_fail_delete_webhook: Webhook delete failed. notice_successful_delete_webhook : Webhook deleted successfully. + project_module_webhooks: Webhooks + permission_manage_hook: Manage webhook