diff options
Diffstat (limited to 'app/views/admin/services')
-rw-r--r-- | app/views/admin/services/_form.html.haml | 4 | ||||
-rw-r--r-- | app/views/admin/services/edit.html.haml | 4 | ||||
-rw-r--r-- | app/views/admin/services/index.html.haml | 12 |
3 files changed, 10 insertions, 10 deletions
diff --git a/app/views/admin/services/_form.html.haml b/app/views/admin/services/_form.html.haml index 1798b44bbb7..c6358824abb 100644 --- a/app/views/admin/services/_form.html.haml +++ b/app/views/admin/services/_form.html.haml @@ -1,10 +1,10 @@ %h3.page-title = @service.title -%p #{@service.description} template +%p= _('%{service_description} template') % { service_description: @service.description } = form_for :service, url: admin_application_settings_service_path, method: :put, html: { class: 'fieldset-form' } do |form| = render 'shared/service_settings', form: form, subject: @service .footer-block.row-content-block - = form.submit 'Save', class: 'btn btn-success' + = form.submit _('Save'), class: 'btn btn-success' diff --git a/app/views/admin/services/edit.html.haml b/app/views/admin/services/edit.html.haml index 512176649e6..8c6c2195d66 100644 --- a/app/views/admin/services/edit.html.haml +++ b/app/views/admin/services/edit.html.haml @@ -1,4 +1,4 @@ -- add_to_breadcrumbs "Service Templates", admin_application_settings_services_path +- add_to_breadcrumbs _('Service Templates'), admin_application_settings_services_path - breadcrumb_title @service.title -- page_title @service.title, "Service Templates" +- page_title @service.title, _('Service Templates') = render 'form' diff --git a/app/views/admin/services/index.html.haml b/app/views/admin/services/index.html.haml index 89872c1b91a..1bf3400bd43 100644 --- a/app/views/admin/services/index.html.haml +++ b/app/views/admin/services/index.html.haml @@ -1,15 +1,15 @@ -- page_title "Service Templates" -%h3.page-title Service templates -%p.light Service template allows you to set default values for project services +- page_title _('Service Templates') +%h3.page-title= _('Service templates') +%p.light= _('Service template allows you to set default values for project services') .table-holder %table.table %thead %tr %th - %th Service - %th Description - %th Last edit + %th= _('Service') + %th= _('Description') + %th= _('Last edit') - @services.sort_by(&:title).each do |service| %tr %td |