Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

more I18n support #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/views/webhook_settings/_show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>
<span>
<span><strong>URL</strong></span>
<span><strong><%= l(:field_url) %></strong></span>
<%= text_field_tag :url, webhook.url, :size => 80 %>
<%= submit_tag l(:button_update) %>
</span>
Expand All @@ -17,7 +17,7 @@
<%= form_tag(create_webhook_path(@project), :method => :post, :class => "tabular") do %>
<div class="box tabular">
<span>
<span><strong>URL</strong></span>
<span><strong><%= l(:field_url) %></strong></span>
<%= text_field_tag :url, '', :size => 80 %>
<%= submit_tag l(:button_add) %>
</span>
Expand Down
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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